class %ZEN.Report.Display.COSChart.cbarChart
extends cchart
parameter DEFAULTAPPEARANCE = "3D";
Default appearance of this component.
parameter DEFAULTPLOTTOEDGE = 0;
This is an SVG chart component that displays a bar chart.
This chart displays one or more data series as rectangular bars whose
size is proportional to the data value.
If there are multiple data series, the bars are plotted either side-by-side
or stacked, as specified by the chartStacked property.
You can view data as a set of horizontal columns by setting the chartPivot property.
Note: the plotToEdge property is always
treated as false for bar charts.
Default value for plotToEdge property.
property %edgeArray
as list of node(XMLPROJECTION="none");
property %lastValueLabel
as list of node(XMLPROJECTION="none");
property chartPivot
as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, pivot this chart: display categories vertically
and values horizontally.
property chartStacked
as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, this is a stacked bar chart. That is,
data series are plotted on top of one another.
If false, then data series are plotted side-by-side.
Note that negative values are ignored in stacked charts.
method getChartElementStyle(series, item)
Return default style for a bar element.
method getSeriesType(series)
Return the type (how a series should be displayed) for the given data series (0-based).
Overridden in combo chart.
method getXAxisType()
Return the type of x axis (category or value) used by
this chart.
method getYAxisType()
Return the type of y axis (category or value) used by
this chart.
method renderSeries(group)
Draw data series for this chart.
group is the SVG container for the chart components.
method useSumForRange()
This method returns true if data series should be summed
when calculating data range for the chart.