Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%ZEN] >  [Auxiliary] >  [axis]
Private  Storage   

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

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 15 1


Summary

Properties
%condition %import %includeFiles %page %resource
aux axisType baseValue composite id
index labelAngle labelPosition labelStyle labelUnits
majorGridLines majorGridStyle majorUnits maxValue minValue
minorGridLines minorGridStyle minorUnits name onupdate
parent title tuple visible window

Methods
%AddToSaveSet %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawHTML %DrawJSStrings %Eval
%EvalC %Extends %ForceClientRender %GetEventHandlers
%GetParameter %GetXMLName %IsA %IsModified
%MakeId %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnDrawObjectProperties %OnObjectSynch
%OnZENDeserialize %OriginalNamespace %PackageName %QuoteValue
%QuoteValueL10N %RemoveFromSaveSet %Self %SerializeObject
%SetModified %ValidateObject XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType findElement fireOnUpdateEvent
getProperty getSettings getType invokeSuper
isOfType makeId onCreate onDelete
onSerialize onloadHandler onunloadHandler onupdateHandler
render renderContents renderSVG setProperty


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 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 labelAngle as %ZEN.Datatype.float [ InitialExpression = 0 ];
Number of degrees that labels for this axis should be rotated.
• 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 labelStyle as %ZEN.Datatype.svgStyle;
Optional: style used for labels along this axis.
• 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 majorGridLines as %ZEN.Datatype.boolean [ InitialExpression = 1 ];
Specifies whether gridlines should be displayed for each major unit.
• property majorGridStyle as %ZEN.Datatype.svgStyle;
Optional: style used for major grid lines along this axis.
• 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 maxValue as %ZEN.Datatype.float;
Maximum value along this axis.
If this is missing (""), then the value will be automatically calculated.
• property minValue as %ZEN.Datatype.float;
Minimum value along this axis.
If this is missing (""), then the value will be automatically calculated.
• property minorGridLines as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Specifies whether gridlines should be displayed for each minor unit.
• property minorGridStyle as %ZEN.Datatype.svgStyle;
Optional: style used for minor grid lines along this axis.
• 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 title as %ZEN.Datatype.caption;
Optional title to display along this axis.

Methods

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


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.