Skip to main content

%ZEN.SVGComponent.hilowChart

Class %ZEN.SVGComponent.hilowChart Extends chart [ Deprecated, System = 3 ]

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.

Parameters

DEFAULTPLOTTOEDGE

Parameter DEFAULTPLOTTOEDGE = 0;

Default value for plotToEdge property.

Properties

chartPivot

Property chartPivot As %ZEN.Datatype.boolean [ InitialExpression = 0 ];

If true, pivot this chart: display categories vertically and values horizontally.

invertedBarStyle

Property invertedBarStyle As %ZEN.Datatype.svgStyle;

Optional: style used for bars where the high value is less than the low value.

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.

getLegendLabels

ClientMethod 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.

getChartElementStyle

ClientMethod getChartElementStyle(series, item) [ Language = javascript ]

Return default style for a bar element.

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.

useSumForRange

ClientMethod useSumForRange() [ Language = javascript ]

This method returns true if data series should be summed when calculating data range for the chart.

setProperty

ClientMethod setProperty(property, value, value2) [ Language = javascript ]

Set the value of a named property.