%ZEN.Auxiliary.axis
Class %ZEN.Auxiliary.axis Extends %ZEN.Component.object [ Deprecated, System = 3 ]
Specifies settings for an axis for a %ZEN.SVGComponent.chart component.
Parameters
XMLNAME
Parameter XMLNAME = "yAxis";
In order for collection of y-axes to work, the default name for this must be yAxis.
Properties
minValue
Property minValue As %ZEN.Datatype.float;
Minimum value along this axis.
If this is missing (""), then the value will be automatically calculated.
maxValue
Property maxValue As %ZEN.Datatype.float;
Maximum value along this axis.
If this is missing (""), then the value will be automatically calculated.
title
Property title As %ZEN.Datatype.caption;
Optional title to display along this axis.
baseValue
Property baseValue As %ZEN.Datatype.float;
Base value for this axis. For charts with filled regions (such as bar or area plots), this specifies where the base of the filled region should be plotted.
If this is missing (""), then the base value will be the bottom of the plot area.
majorUnits
Property majorUnits As %ZEN.Datatype.float(MINVAL = 0);
Major units along this axis. This specifies how major gridlines will be spaced along this axis.
If this is missing (""), then the value will be automatically calculated.
minorUnits
Property minorUnits As %ZEN.Datatype.float(MINVAL = 0);
Minor units along this axis. This specifies how minor gridlines will be spaced along this axis.
If this is missing (""), then the value will be automatically calculated.
labelUnits
Property labelUnits As %ZEN.Datatype.float(MINVAL = 0);
Label units along this axis. This specifies how labels will be spaced along this axis.
If this is missing (""), then the value will be automatically calculated.
labelAngle
Property labelAngle As %ZEN.Datatype.float [ InitialExpression = 0 ];
Number of degrees that labels for this axis should be rotated.
majorGridLines
Property majorGridLines As %ZEN.Datatype.boolean [ InitialExpression = 1 ];
Specifies whether gridlines should be displayed for each major unit.
minorGridLines
Property minorGridLines As %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Specifies whether gridlines should be displayed for each minor unit.
labelStyle
Property labelStyle As %ZEN.Datatype.svgStyle;
Optional: style used for labels along this axis.
majorGridStyle
Property majorGridStyle As %ZEN.Datatype.svgStyle;
Optional: style used for major grid lines along this axis.
minorGridStyle
Property minorGridStyle As %ZEN.Datatype.svgStyle;
Optional: style used for minor grid lines along this axis.
labelPosition
Property labelPosition As %ZEN.Datatype.string(VALUELIST = ",left,right,top,bottom");
Optional: specifies on which side of the chart the labels for this axis will appear. For a y-axis, only "left" and "right" are used. For an x-axis, only "top" and "bottom" are used.
axisType
Property axisType As %ZEN.Datatype.string(VALUELIST = ",percent");
Optional: define addition control over how labels are displayed for this axis.
"" (auto) shows a value or category label.
"percent" shows a value label as a percentage (1 = 100%).
Methods
setProperty
ClientMethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.