PieSeries visualizes data as a circular chart divided into wedges which represent data as a percentage of a whole.
_addHotspotcfg
seriesIndex
index
Adds an interactive map when rendering in canvas.
_categoryAxisChangeHandlere
Event handler for the categoryAxisChange event.
e
Object
Event object.
_categoryDataChangeHandlerevent
Event handler for categoryDataChange event.
event
Object
Event object.
_createMarkerstyles
order
index
Creates a shape to be used as a marker.
_createMarkerCacheCreates a cache of markers for reuse.
_getDefaultColorindex
type
Colors used if style colors are not specified
_getPlotDefaultsGets the default style values for the markers.
_redrawRedraws the chart instance.
_setMapCreates or updates the image map when rendered with canvas.
_valueAxisChangeHandlere
Event handler for the valueAxisChange event.
e
Object
Event object.
_valueDataChangeHandlerevent
Event handler for valueDataChange event.
event
Object
Event object.
addListenersAdds event listeners.
drawDraws the series. Overrides the base implementation.
drawPlotsDraws the markers
updateMarkerStatetype
i
Resizes and positions markers based on a mouse interaction.
validateDraws the series.
_categoryDisplayNameStorage for categoryDisplayName attribute.
_defaultBorderColorsCollection of default colors used for marker borders in a series when not specified by user.
_defaultFillColorsCollection of default colors used for marker fills in a series when not specified by user.
_defaultLineColorsCollection of default colors used for lines in a series when not specified by user.
_defaultSliceColorsCollection of default colors used for area fills, histogram fills and pie fills in a series when not specified by user.
_valueDisplayNameStorage for valueDisplayName attribute.
categoryKeyIndicates which array to from the hash of value arrays in
the category Axis instance.
categoryKeyChange
Fires when the value for the configuration attribute categoryKey is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
The legend for the chart.
Change
Fires when the value for the configuration attribute `` is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
orderOrder of this instance of this type.
orderChange
Fires when the value for the configuration attribute order is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
graphReference to the Graph in which the series is drawn into.
graphChange
Fires when the value for the configuration attribute graph is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
categoryAxisReference to the Axis instance used for assigning
category values to the graph.
categoryAxisChange
Fires when the value for the configuration attribute categoryAxis is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
categoryAxisReference to the Axis instance used for assigning
series values to the graph.
categoryAxisChange
Fires when the value for the configuration attribute categoryAxis is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
typeRead-only attribute indicating the type of series.
Default: pie
typeChange
Fires when the value for the configuration attribute type is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
valueKeyIndicates which array to from the hash of value arrays in
the value Axis instance.
valueKeyChange
Fires when the value for the configuration attribute valueKey is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
categoryDisplayNameName used for for displaying category data
categoryDisplayNameChange
Fires when the value for the configuration attribute categoryDisplayName is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
valueDisplayNameName used for for displaying value data
valueDisplayNameChange
Fires when the value for the configuration attribute valueDisplayName is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
slicesslicesChange
Fires when the value for the configuration attribute slices is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade
stylesStyle properties used for drawing markers. This attribute is inherited from MarkerSeries. Below are the default values:
["#66007f", "#a86f41", "#295454", "#996ab2", "#e8cdb7", "#90bdbd","#000000","#c3b8ca", "#968373", "#678585"]
["#205096", "#b38206", "#000000", "#94001e", "#9d6fa0", "#e55b00", "#5e85c9", "#adab9e", "#6ac291", "#006457"]
mouseover event. The default
values for each style is null. When an over style is not set, the non-over value will be used. For example,
the default value for marker.over.fill.color is equivalent to marker.fill.color.stylesChange
Fires when the value for the configuration attribute styles is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
e
EventFacade