Skip to main content

%ZEN.SVGComponent.swirlChart

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

Properties

invert

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)

separateSeriesScale

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

gap

Property gap As %ZEN.Datatype.integer(MAXVAL = 135, MINVAL = 0) [ InitialExpression = 30 ];

space between first slice and last slice in degrees

animate

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

legendVisible

Property legendVisible As %ZEN.Datatype.string(VALUELIST = ",auto,false,true") [ InitialExpression = "false" ];

Overriding default value: now FALSE

plotBy

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)

XDatas

SVGStyle

XData SVGStyle

Methods

hasAxes

ClientMethod hasAxes() [ Language = javascript ]

Indicates that this chart has no axes and associated grids

is3D

ClientMethod is3D() [ Language = javascript ]

Do not show 3-D plot area.

setProperty

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

Set the value of a named property.

hasMultiples

ClientMethod hasMultiples() [ Language = javascript ]

Indicates that this chart supports "show multiples" mode.

renderSeries

ClientMethod renderSeries(group) [ Language = javascript ]

Draw data series for this chart. group is the SVG container for the chart components.

getChartElementStyle

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

getYLabelText

ClientMethod getYLabelText(val, yAxisNo, base) [ Language = javascript ]

setAnimation

ClientMethod setAnimation(label, steps, from, to, center) [ Language = javascript ]

getLegendsCount

ClientMethod getLegendsCount(legends) [ Language = javascript ]

getSeriesNamesSize

ClientMethod getSeriesNamesSize() [ Language = javascript ]

getLegendLabels

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.