Interface: DonutSeriesOptions
Extends
PieLikeSeriesOptions
Properties
angleField
angleField:
string
Key of the value that determines the sector angle.
Inherited from
PieLikeSeriesOptions.angleField
angleName?
optionalangleName?:string
Inherited from
PieLikeSeriesOptions.angleName
calloutLabel?
optionalcalloutLabel?:Switchable&FontOptions
Outside labels with a callout line.
Inherited from
PieLikeSeriesOptions.calloutLabel
calloutLine?
optionalcalloutLine?:object
Callout line made of two segments; each is configured separately. By default the color is the sector color.
horizontal?
optionalhorizontal?:CalloutSegmentOptions
Horizontal segment toward the label.
radial?
optionalradial?:CalloutSegmentOptions
Radial segment from the sector.
Inherited from
PieLikeSeriesOptions.calloutLine
cornerRadius?
optionalcornerRadius?:number
Sector corner radius, in px.
Inherited from
PieLikeSeriesOptions.cornerRadius
fills?
optionalfills?:string[]
Inherited from
PieLikeSeriesOptions.fills
id?
optionalid?:string
Inherited from
PieLikeSeriesOptions.id
innerCircle?
optionalinnerCircle?:object
fill?
optionalfill?:string
innerLabels?
optionalinnerLabels?:DonutInnerLabel[]
Text lines in the center of the ring.
innerRadiusRatio?
optionalinnerRadiusRatio?:number
Inner radius as a fraction of the outer radius (0.6 by default).
labelField?
optionallabelField?:string
Key of the sector name (legend, labels, tooltip).
Inherited from
PieLikeSeriesOptions.labelField
legendValue?
optionallegendValue?:Switchable&object
Values in the legend: "label … value".
Type Declaration
formatter?
optionalformatter?: (params) =>string
Parameters
params
PieTooltipRendererParams
Returns
string
Inherited from
PieLikeSeriesOptions.legendValue
outerRadiusRatio?
optionalouterRadiusRatio?:number
Fraction of the available radius used by the chart (0.85 by default).
Inherited from
PieLikeSeriesOptions.outerRadiusRatio
rotation?
optionalrotation?:number
Initial angle, in degrees.
Inherited from
PieLikeSeriesOptions.rotation
sectorLabel?
optionalsectorLabel?:Switchable&FontOptions&object
Labels inside sectors (share as a percentage).
Type Declaration
positionRatio?
optionalpositionRatio?:number
Inherited from
PieLikeSeriesOptions.sectorLabel
sectorSpacing?
optionalsectorSpacing?:number
Angular gap between sectors, in px (at the outer radius).
Inherited from
PieLikeSeriesOptions.sectorSpacing
showInLegend?
optionalshowInLegend?:boolean
Inherited from
PieLikeSeriesOptions.showInLegend
stroke?
optionalstroke?:string
Sector stroke (none by default; use sectorSpacing for gaps).
Inherited from
PieLikeSeriesOptions.stroke
strokes?
optionalstrokes?:string[]
Inherited from
PieLikeSeriesOptions.strokes
strokeWidth?
optionalstrokeWidth?:number
Inherited from
PieLikeSeriesOptions.strokeWidth
tooltip?
optionaltooltip?:Switchable&object
Type Declaration
renderer?
optionalrenderer?: (params) =>string|TooltipContentData
Parameters
params
PieTooltipRendererParams
Returns
string | TooltipContentData
Inherited from
PieLikeSeriesOptions.tooltip
type
type:
"donut"
visible?
optionalvisible?:boolean
Inherited from
PieLikeSeriesOptions.visible