class %ZEN.Report.Display.Chart.pieChartEx
extends chart
property formatPercentage
as %ZEN.Datatype.string;
Optional formatting string for a percentage output.
Number formats are specified in the
format required for the XPath format-number function.
property labelValues
as %ZEN.Datatype.csv;
Optional: comma-delimited list of label values of each slice.
If left blank, the series number is used.
property onlyPercentage
as %ZEN.Datatype.boolean;
Only output percentage on slice, requires outputPrecentage to be set
property outputPercentage
as %ZEN.Datatype.boolean;
On slice output percentage
property plotBy
as %ZEN.Datatype.string(VALUELIST=",items,series,both") [ InitialExpression = "items" ];
Specifies how the pie chart will plot its data.
- "items" - plot a slice for every item within this chart's data. If
there are multiple data series, each slice represents the total of each item
summed across the data series.
The labels for the slices are derived as they are for pieChart.
- "series" - plot a slice for every data series within this chart's data.
Each slice represents the total value of all items within each series.
The labels for the slices are specified by the labelValues property.
- "both" - plot a slice for each item within each data series (that is, there
will be seriesCount * seriesSize slices).
The slices are labeled as items; the chart legend will display the series names.
method calcUnion(prefix As %String)
method hasAxes()
Indicates that this chart has axes and associated grids
A subclass may override this to turn off axis display.
method renderGetLabelText(ByRef context As %String, XSL As %GlobalCharacterStream)
method renderSeries(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream)
Draw data series for this chart.
This is implemented by subclasses.
group is the SVG container for the chart components.
method renderSeriesByItems(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream)
method renderSeriesBySeries(ByRef context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream)
method renderSeriesLabels(context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream)
Draw data label series for this chart.
This is implemented by subclasses.
group is the SVG container for the chart components.
method renderSeriesLabelsByItems(context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream)
method renderSeriesLabelsBySeries(context As %String, ByRef XSL As %GlobalCharacterStream, ByRef delay As %GlobalCharacterStream)
method renderTrigFunctions(ByRef context As %String, XSL As %GlobalCharacterStream)