Skip to main content

%ZEN.SVGComponent.swirlChart

class %ZEN.SVGComponent.swirlChart extends %ZEN.SVGComponent.chart

Property Inventory

Method Inventory

Properties

property animate as %ZEN.Datatype.string (VALUELIST = ",none,auto,manual") [ InitialExpression = "auto" ];
when drawing start, draw slices and labels in an animation or just show finished product
Property methods: animateDisplayToLogical(), animateGet(), animateIsValid(), animateLogicalToDisplay(), animateLogicalToOdbc(), animateNormalize(), animateSet()
property gap as %ZEN.Datatype.integer (MAXVAL = 135, MINVAL = 0) [ InitialExpression = 30 ];
space between first slice and last slice in degrees
Property methods: gapDisplayToLogical(), gapGet(), gapIsValid(), gapLogicalToDisplay(), gapLogicalToOdbc(), gapNormalize(), gapSet()
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=true)
Property methods: invertDisplayToLogical(), invertGet(), invertIsValid(), invertLogicalToDisplay(), invertLogicalToOdbc(), invertLogicalToXSD(), invertNormalize(), invertSet(), invertXSDToLogical()
property legendVisible as %ZEN.Datatype.string (VALUELIST = ",auto,false,true") [ InitialExpression = "false" ];
Overriding default value: now FALSE
Property methods: legendVisibleDisplayToLogical(), legendVisibleGet(), legendVisibleIsValid(), legendVisibleLogicalToDisplay(), legendVisibleLogicalToOdbc(), legendVisibleNormalize(), legendVisibleSet()
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 methods: plotByDisplayToLogical(), plotByGet(), plotByIsValid(), plotByLogicalToDisplay(), plotByLogicalToOdbc(), plotByNormalize(), plotBySet()
property separateSeriesScale as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
Property methods: separateSeriesScaleDisplayToLogical(), separateSeriesScaleGet(), separateSeriesScaleIsValid(), separateSeriesScaleLogicalToDisplay(), separateSeriesScaleLogicalToOdbc(), separateSeriesScaleLogicalToXSD(), separateSeriesScaleNormalize(), separateSeriesScaleSet(), separateSeriesScaleXSDToLogical()

Methods

clientmethod getChartElementStyle(series, item) [ Language = javascript ]
Inherited description: Return default style for the specified data element (if any). This is used to restore styles when chart elements are unselected. Subclasses can override this.
clientmethod getLegendLabels() [ Language = javascript ]
Return an array of labels to display within the Legend box.
Default implementation is to return a list of series names.
clientmethod getLegendsCount(legends) [ Language = javascript ]
clientmethod getSeriesNamesSize() [ Language = javascript ]
clientmethod getYLabelText(val, yAxisNo, base) [ Language = javascript ]
Inherited description: Given a logical value, return the text to use for an axis label. base is an arbitrary delta but can be used to make labels 0-based or 1-based default is 0-based for backwards compatibility Can be overriden by user through sub-classing
clientmethod hasAxes() [ Language = javascript ]
Indicates that this chart has no axes and associated grids
clientmethod hasMultiples() [ Language = javascript ]
Indicates that this chart supports "show multiples" mode.
clientmethod is3D() [ Language = javascript ]
Do not show 3-D plot area.
clientmethod renderSeries(group) [ Language = javascript ]
Draw data series for this chart. group is the SVG container for the chart components.
clientmethod setAnimation(label, steps, from, to, center) [ Language = javascript ]
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab