class %ZEN.SVGComponent.hilowChart
extends chart
This is an SVG chart component that displays a hi-low-close chart.
This chart displays three data series as a set of rectangles: the top of each rectangle
represents the high value; the bottom, the low value; a marker is drawn for
the closing value.
The three data series are interpreted as:
- First series: set of high values.
- Second series: set of low values. Each low value is assumed to be smaller than
its corresponding high value.
- Third series: set of optional closing values. Each closing value is assumed to between
its corresponding high and low values.
You can view pivot the chart using the
chartPivot property.
parameter DEFAULTPLOTTOEDGE = 0;
Default value for plotToEdge property.
property chartPivot
as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, pivot this chart: display categories vertically
and values horizontally.
method getChartElementStyle(series, item)
[ Language = javascript ]
Return default style for a bar element.
method getLegendLabels()
[ Language = javascript ]
Return an array of labels to display within the Legend box.
A hilow chart only displays one logical data series, so only one
item is displayed in the legend box.
method getXAxisType()
[ Language = javascript ]
Return the type of x axis (category or value) used by
this chart.
method getYAxisType()
[ Language = javascript ]
Return the type of y axis (category or value) used by
this chart.
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.