Home > Class Reference > %SYS namespace > %ZEN.Auxiliary.axis

%ZEN.Auxiliary.axis

class %ZEN.Auxiliary.axis extends %ZEN.Component.object

Specifies settings for an axis for a %ZEN.SVGComponent.chart component.

Property Inventory

Method Inventory

Parameters

parameter XMLNAME = yAxis;
In order for collection of y-axes to work, the default name for this must be yAxis.

Properties

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%).
Property methods: axisTypeDisplayToLogical(), axisTypeGet(), axisTypeIsValid(), axisTypeLogicalToDisplay(), axisTypeLogicalToOdbc(), axisTypeNormalize(), axisTypeSet()
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.
Property methods: baseValueDisplayToLogical(), baseValueGet(), baseValueIsValid(), baseValueLogicalToDisplay(), baseValueLogicalToOdbc(), baseValueNormalize(), baseValueSet()
property labelAngle as %ZEN.Datatype.float [ InitialExpression = 0 ];
Number of degrees that labels for this axis should be rotated.
Property methods: labelAngleDisplayToLogical(), labelAngleGet(), labelAngleIsValid(), labelAngleLogicalToDisplay(), labelAngleLogicalToOdbc(), labelAngleNormalize(), labelAngleSet()
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.
Property methods: labelPositionDisplayToLogical(), labelPositionGet(), labelPositionIsValid(), labelPositionLogicalToDisplay(), labelPositionLogicalToOdbc(), labelPositionNormalize(), labelPositionSet()
property labelStyle as %ZEN.Datatype.svgStyle;
Optional: style used for labels along this axis.
Property methods: labelStyleDisplayToLogical(), labelStyleGet(), labelStyleIsValid(), labelStyleLogicalToDisplay(), labelStyleLogicalToOdbc(), labelStyleNormalize(), labelStyleSet()
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.
Property methods: labelUnitsDisplayToLogical(), labelUnitsGet(), labelUnitsIsValid(), labelUnitsLogicalToDisplay(), labelUnitsLogicalToOdbc(), labelUnitsNormalize(), labelUnitsSet()
property majorGridLines as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
Specifies whether gridlines should be displayed for each major unit.
Property methods: majorGridLinesDisplayToLogical(), majorGridLinesGet(), majorGridLinesIsValid(), majorGridLinesLogicalToDisplay(), majorGridLinesLogicalToOdbc(), majorGridLinesLogicalToXSD(), majorGridLinesNormalize(), majorGridLinesSet(), majorGridLinesXSDToLogical()
property majorGridStyle as %ZEN.Datatype.svgStyle;
Optional: style used for major grid lines along this axis.
Property methods: majorGridStyleDisplayToLogical(), majorGridStyleGet(), majorGridStyleIsValid(), majorGridStyleLogicalToDisplay(), majorGridStyleLogicalToOdbc(), majorGridStyleNormalize(), majorGridStyleSet()
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.
Property methods: majorUnitsDisplayToLogical(), majorUnitsGet(), majorUnitsIsValid(), majorUnitsLogicalToDisplay(), majorUnitsLogicalToOdbc(), majorUnitsNormalize(), majorUnitsSet()
property maxValue as %ZEN.Datatype.float;
Maximum value along this axis.
If this is missing (""), then the value will be automatically calculated.
Property methods: maxValueDisplayToLogical(), maxValueGet(), maxValueIsValid(), maxValueLogicalToDisplay(), maxValueLogicalToOdbc(), maxValueNormalize(), maxValueSet()
property minValue as %ZEN.Datatype.float;
Minimum value along this axis.
If this is missing (""), then the value will be automatically calculated.
Property methods: minValueDisplayToLogical(), minValueGet(), minValueIsValid(), minValueLogicalToDisplay(), minValueLogicalToOdbc(), minValueNormalize(), minValueSet()
property minorGridLines as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Specifies whether gridlines should be displayed for each minor unit.
Property methods: minorGridLinesDisplayToLogical(), minorGridLinesGet(), minorGridLinesIsValid(), minorGridLinesLogicalToDisplay(), minorGridLinesLogicalToOdbc(), minorGridLinesLogicalToXSD(), minorGridLinesNormalize(), minorGridLinesSet(), minorGridLinesXSDToLogical()
property minorGridStyle as %ZEN.Datatype.svgStyle;
Optional: style used for minor grid lines along this axis.
Property methods: minorGridStyleDisplayToLogical(), minorGridStyleGet(), minorGridStyleIsValid(), minorGridStyleLogicalToDisplay(), minorGridStyleLogicalToOdbc(), minorGridStyleNormalize(), minorGridStyleSet()
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.
Property methods: minorUnitsDisplayToLogical(), minorUnitsGet(), minorUnitsIsValid(), minorUnitsLogicalToDisplay(), minorUnitsLogicalToOdbc(), minorUnitsNormalize(), minorUnitsSet()
property title as %ZEN.Datatype.caption;
Optional title to display along this axis.
Property methods: titleDisplayToLogical(), titleGet(), titleIsValid(), titleLogicalToDisplay(), titleLogicalToOdbc(), titleNormalize(), titleSet()

Methods

clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.

Inherited Members

Inherited Properties

Inherited Methods