series[type=' pie']
- type required
'pie' - Configuration for Pie Series.
- angleKey required
DatumKey - The key to use to retrieve angle values from the data.
- title
AgPieTitleOptions - Configuration for the series title.
- calloutLabel
AgPieSeriesLabelOptions - Configuration for the labels used outside the sectors.
- sectorLabel
AgPieSeriesSectorLabelOptions - Configuration for the labels used inside the sectors.
- calloutLine
AgPieSeriesCalloutOptions - Configuration for the callout lines used with the labels for the sectors.
- fills
AgColorType[] - The colours to cycle through for the fills of the sectors. An array of colour strings, or fill objects for gradients, patterns, or images.
- strokes
CssColor[] - The colours to cycle through for the strokes of the sectors.
- fillOpacity
Opacity - The opacity of the fill for the sectors.
- strokeOpacity
Opacity - The opacity of the stroke for the sectors.
- strokeWidth
PixelSize - The width in pixels of the stroke for the sectors.
- rotation
Degree - The rotation of the pie series in degrees.
- outerRadiusOffset
PixelSize - The offset in pixels of the outer radius of the series.
- outerRadiusRatio
Ratio - The ratio of the outer radius of the series. Used to adjust the outer radius proportionally to the automatically calculated value.
- radiusMin
number - Override of the automatically determined minimum radiusKey value from the data.
- radiusMax
number - Override of the automatically determined maximum radiusKey value from the data.
- shadow
AgDropShadowOptions - Configuration for the shadow used behind the chart series.
- tooltip
AgSeriesTooltip - Series-specific tooltip configuration.
- cornerRadius
PixelSize - Apply rounded corners to each sector.
- sectorSpacing
PixelSize - The spacing between Pie sectors.
- hideZeroValueSectorsInLegend
boolean - Whether items with a value of 0 should be hidden in the legend.
- itemStyler
Styler - A styler function for adjusting the styling of the pie sectors.
- highlight
AgMultiSeriesHighlightOptions - Configuration for highlighting when a series or legend item is hovered over.
- cursor
string - The cursor to use for hovered markers. This config is identical to the CSS `cursor` property.
- context
ContextDefault - Context object to use in callbacks.
- selection
AgSelectionOptions - Configuration for data selection.
- nodeClickRange
InteractionRange - Range from a node that a click triggers the listener.
- showInLegend
boolean - Whether to include the series in the legend.
- listeners
AgSeriesListeners - A map of event names to event listeners.
- lineDash
PixelSize[] - An array specifying the length in pixels of alternating dashes and gaps.
- lineDashOffset
PixelSize - The initial offset of the dashed line in pixels.
- radiusKey
DatumKey - The key to use to retrieve radius values from the data.
- calloutLabelKey
DatumKey - The key to use to retrieve label values from the data.
- sectorLabelKey
DatumKey - The key to use to retrieve sector label values from the data.
- legendItemKey
DatumKey - The key to use to retrieve legend item labels from the data. If multiple pie series share this key they will be merged in the legend.
- angleName
string - A human-readable description of the angle values. If supplied, this will be passed to the tooltip renderer as one of the parameters.
- radiusName
string - A human-readable description of the radius values. If supplied, this will be passed to the tooltip renderer as one of the parameters.
- calloutLabelName
string - A human-readable description of the label values. If supplied, this will be passed to the tooltip renderer as one of the parameters.
- sectorLabelName
string - A human-readable description of the sector label values. If supplied, this will be passed to the tooltip renderer as one of the parameters.
- id
stringdefault: auto-generated value - Primary identifier for the series. This is provided as `seriesId` in user callbacks to differentiate multiple series. Auto-generated ids are subject to future change without warning, if your callbacks need to vary behaviour by series please supply your own unique `id` value.
- data
DatumDefault[] - The data to use when rendering the series. If this is not supplied, data must be set on the chart instead.
- visible
boolean - Whether to display the series.
series[type=' pie']
- type required
'pie' - Configuration for Pie Series.
- angleKey required
DatumKey - The key to use to retrieve angle values from the data.
- title
AgPieTitleOptions - Configuration for the series title.
- calloutLabel
AgPieSeriesLabelOptions - Configuration for the labels used outside the sectors.
- sectorLabel
AgPieSeriesSectorLabelOptions - Configuration for the labels used inside the sectors.
- calloutLine
AgPieSeriesCalloutOptions - Configuration for the callout lines used with the labels for the sectors.
- fills
AgColorType[] - The colours to cycle through for the fills of the sectors. An array of colour strings, or fill objects for gradients, patterns, or images.
- strokes
CssColor[] - The colours to cycle through for the strokes of the sectors.
- fillOpacity
Opacity - The opacity of the fill for the sectors.
- strokeOpacity
Opacity - The opacity of the stroke for the sectors.
- strokeWidth
PixelSize - The width in pixels of the stroke for the sectors.
- rotation
Degree - The rotation of the pie series in degrees.
- outerRadiusOffset
PixelSize - The offset in pixels of the outer radius of the series.
- outerRadiusRatio
Ratio - The ratio of the outer radius of the series. Used to adjust the outer radius proportionally to the automatically calculated value.
- radiusMin
number - Override of the automatically determined minimum radiusKey value from the data.
- radiusMax
number - Override of the automatically determined maximum radiusKey value from the data.
- shadow
AgDropShadowOptions - Configuration for the shadow used behind the chart series.
- tooltip
AgSeriesTooltip - Series-specific tooltip configuration.
- cornerRadius
PixelSize - Apply rounded corners to each sector.
- sectorSpacing
PixelSize - The spacing between Pie sectors.
- hideZeroValueSectorsInLegend
boolean - Whether items with a value of 0 should be hidden in the legend.
- itemStyler
Styler - A styler function for adjusting the styling of the pie sectors.
- highlight
AgMultiSeriesHighlightOptions - Configuration for highlighting when a series or legend item is hovered over.
- cursor
string - The cursor to use for hovered markers. This config is identical to the CSS `cursor` property.
- context
ContextDefault - Context object to use in callbacks.
- selection
AgSelectionOptions - Configuration for data selection.
- nodeClickRange
InteractionRange - Range from a node that a click triggers the listener.
- showInLegend
boolean - Whether to include the series in the legend.
- listeners
AgSeriesListeners - A map of event names to event listeners.
- lineDash
PixelSize[] - An array specifying the length in pixels of alternating dashes and gaps.
- lineDashOffset
PixelSize - The initial offset of the dashed line in pixels.
- radiusKey
DatumKey - The key to use to retrieve radius values from the data.
- calloutLabelKey
DatumKey - The key to use to retrieve label values from the data.
- sectorLabelKey
DatumKey - The key to use to retrieve sector label values from the data.
- legendItemKey
DatumKey - The key to use to retrieve legend item labels from the data. If multiple pie series share this key they will be merged in the legend.
- angleName
string - A human-readable description of the angle values. If supplied, this will be passed to the tooltip renderer as one of the parameters.
- radiusName
string - A human-readable description of the radius values. If supplied, this will be passed to the tooltip renderer as one of the parameters.
- calloutLabelName
string - A human-readable description of the label values. If supplied, this will be passed to the tooltip renderer as one of the parameters.
- sectorLabelName
string - A human-readable description of the sector label values. If supplied, this will be passed to the tooltip renderer as one of the parameters.
- id
stringdefault: auto-generated value - Primary identifier for the series. This is provided as `seriesId` in user callbacks to differentiate multiple series. Auto-generated ids are subject to future change without warning, if your callbacks need to vary behaviour by series please supply your own unique `id` value.
- data
DatumDefault[] - The data to use when rendering the series. If this is not supplied, data must be set on the chart instead.
- visible
boolean - Whether to display the series.