class %ZEN.SVGComponent.diffChart
extends chart
This is an SVG chart component that displays a difference chart.
This is a specialized type of line chart that
displays the difference between a reference data series
(the first data series) and an actual data series
(the second data series).
parameter DEFAULTPLOTTOEDGE = 1;
Default value for plotToEdge property.
property refLineStyle
as %ZEN.Datatype.svgStyle [ InitialExpression = "stroke-dasharray: 1,1;" ];
Optional: default style applied to the reference line elements used for plotting
data by this chart.
property seriesYAxes
as %ZEN.Datatype.csv(XMLPROJECTION="none");
Optional. If defined, specifies which y-axis should be used for each data
series. This is a csv-list of y-axis numbers (0-based).
By default, the every data series uses y-axis 0.
method renderSeries(group)
[ Language = javascript ]
Draw data series for this chart.
group is the SVG container for the chart components.
method setProperty(property, value, value2)
[ Language = javascript ]
Set the value of a named property.
method useSumForRange()
[ Language = javascript ]
This method returns true if data series should be summed
when calculating data range for the chart.