%ZEN.SVGComponent.lineChart
Class %ZEN.SVGComponent.lineChart Extends chart [ Deprecated, System = 3 ]
This is an SVG chart component that displays a line chart.
This chart displays one or more data series as a set of lines.
If there are multiple data series, the lines are either superimposed or or stacked atop one another, as specified by the chartStacked property.
You can use the chartFilled property to specify that the area under the lines should be filled, turning this into an area chart.
You can view pivot the chart using the chartPivot property.
Parameters
DEFAULTPLOTTOEDGE
Parameter DEFAULTPLOTTOEDGE = 1;
Default value for plotToEdge property.
Properties
chartFilled
Property chartFilled As %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Specifies whether the area under the line is filled (as in an area chart) or not filled (as in a line chart).
chartStacked
Property chartStacked As %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, this is a stacked line chart. That is, data series are plotted above one another.
Note that negative values are ignored in stacked charts.
chartPivot
Property chartPivot As %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, pivot this chart: display categories vertically and values horizontally.
XDatas
SVGStyle
XData SVGStyle
Methods
renderSeries
ClientMethod renderSeries(group) [ Language = javascript ]
Draw data series for this chart. group is the SVG container for the chart components.
useSumForRange
ClientMethod useSumForRange() [ Language = javascript ]
This method returns true if data series should be summed when calculating data range for the chart.
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.
isTimeBased
ClientMethod isTimeBased() [ Language = javascript ]
Test if a time-based x axis should be used. This is overridden in subclasses.
getChartElementStyle
ClientMethod getChartElementStyle(series, item) [ Language = javascript ]
Return default style for a line element.
setProperty
ClientMethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
hasMultiples
ClientMethod hasMultiples() [ Language = javascript ]
Indicates that this chart supports "show multiples" mode.