%ZEN.SVGComponent.xyChart
Class %ZEN.SVGComponent.xyChart Extends chart [ Deprecated, System = 3 ]
This is an SVG chart component that displays an X-Y chart.
This chart plots two or more series of data as a series of x,y points on the chart. The first data series provides the x values, the second provides the correlated y values.
Additional data series are plotted as y values correlated to the x values provided by the first series.
The first series name is used as the name of the first series containing y-values.
You can supply more than one set of x values using the independentXSeries property.
Parameters
DEFAULTPLOTTOEDGE
Parameter DEFAULTPLOTTOEDGE = 1;
Default value for plotToEdge property.
DEFAULTMARKERSVISIBLE
Parameter DEFAULTMARKERSVISIBLE = 1;
Default value for the markersVisible property.
Properties
independentXSeries
Property independentXSeries As %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Optional: if false (the default) the first data series is used to supply x values for the chart and all other data series provide y values.
If false, then the chart will display multiple x series. In this case, the first data series provides the first set of x values, the second data provides the first set of y values, the third data series provides the second set of x values, and so on.
chartPivot
Property chartPivot As %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, pivot this chart: display categories vertically and values horizontally.
seriesYAxes
Property seriesYAxes As %ZEN.Datatype.csv(XMLPROJECTION = "none");
tag
Property tag As %ZEN.Datatype.string(XMLPROJECTION = "none") [ InitialExpression = "xyChart", Internal ];
XDatas
SVGStyle
XData SVGStyle
Methods
getXAxisType
ClientMethod getXAxisType() [ Language = javascript ]
Return the type of x axis (category or value) used by this chart.
getYAxisType
ClientMethod getYAxisType() [ Language = javascript ]
Return the type of y axis (category or value) used by this chart.
findDataRange
ClientMethod findDataRange() [ Language = javascript ]
Internal method: return (as an object) the minimum and maximum data values for this chart. This is used for ranges that are automatically calculated.
renderSeries
ClientMethod renderSeries(group) [ Language = javascript ]
Draw data series for this chart. group is the SVG container for the chart components.
getLegendLabels
ClientMethod getLegendLabels() [ Language = javascript ]
Return an array of labels to display within the Legend box.
For xy chart we have to skip the first series, as it contains x-values, and not a logical data series.
setProperty
ClientMethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
getToolTipInfo
ClientMethod getToolTipInfo(series, item, captions, values) [ Internal, Language = javascript ]
Return an object containing tooltip information for the given element.