deprecatedclass %ZEN.Report.Display.COSChart.cswirlChart
extends %ZEN.Report.Display.COSChart.cchart
property gap
as %ZEN.Datatype.integer(MAXVAL=135,MINVAL=0) [ InitialExpression = 30 ];
space between first slice and last slice in degrees
property invert
as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Whether or not to 'invert' the swirl. In an inverted swirl, the labels are on the outside
and the slices are lines rather than real surfaces.
Note, that the invert property is only active when labels are visible (labelsVisible=1)
property legendVisible
as %ZEN.Datatype.string(VALUELIST=",auto,false,true") [ InitialExpression = "false" ];
Overriding default value: now FALSE
property plotBy
as %ZEN.Datatype.string(VALUELIST=",items,series") [ InitialExpression = "items" ];
plotBy - items - this is default, it results in slices that are colored by items and a legend that is organized by labels on the slices
plotBy - series - it results in slices where slices of the same series are the same color, and legend shows labels for each series (not labels on the slices)
property separateSeriesScale
as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
method getChartElementStyle(series, item)
as %String
method getLegendLabels()
Return an array of labels to display within the Legend box.
Default implementation is to return a list of series names.
method getLegendsCount(legends)
method getSeriesNamesSize()
method getYLabelText(val, yAxisNo, base)
Given a logical value, return the text to use for an axis label.
Subclasses can override this for custom behavior.
method hasAxes()
Indicates that this chart has no axes and associated grids
method hasMultiples()
Indicates that this chart supports "show multiples" mode.
method is3D()
Do not show 3-D plot area.
method renderSeries(group)
Draw data series for this chart.
This is implemented by subclasses.
group is the SVG container for the chart components.