Skip to main content
Version: 3.0.0

ConfigSeriesPie

Inherit​

strokeWidthBase​

Typedefault
double2

Stroke width of the border of the arcs.

alt

strokeColor​

Typedefault
Color?null

alt

arcLength​

Typedefault
doublemath.pi * 2

Total arc length, in radians.

alt alt alt alt

you can use public function radianFromDegree from d_chart.

arcLength: radianFromDegree(360),

alt alt alt alt

arcWidth​

Typedefault
int?null

Fixed width of the arc within the radius. If arcRatio is set, this value will be ignored.

alt

arcRatio​

Typedefault
double?null

If set, configures the arcWidth to be a percentage of the radius.
value: 0 -> 1

alt

startAngle​

Typedefault
double-math.pi / 2

Start angle for pie slices, in radians.
Angles are defined from the positive x axis in Cartesian space. The default startAngle is -π/2.
prioritize: startAngleDegree

alt alt alt alt

you can use public function radianFromDegree from d_chart.

startAngle: radianFromDegree(90),

alt alt alt

showLabel​

Typedefault
boolfalse

alt alt

arcLabelDecorator​

Typedefault
ArcLabelDecorator<T>ArcLabelDecoratorN/O/T