ConfigSeriesPie
Inherit
strokeWidthBase
| Type | default |
|---|---|
| double | 2 |
Stroke width of the border of the arcs.
strokeColor
| Type | default |
|---|---|
| Color? | null |
arcLength
| Type | default |
|---|---|
| double | math.pi * 2 |
Total arc length, in radians.
you can use public function radianFromDegree from d_chart.
arcLength: radianFromDegree(360),
arcWidth
| Type | default |
|---|---|
| int? | null |
Fixed width of the arc within the radius. If arcRatio is set, this value will be ignored.
arcRatio
| Type | default |
|---|---|
| double? | null |
If set, configures the arcWidth to be a percentage of the radius.
value: 0 -> 1
startAngle
| Type | default |
|---|---|
| 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
you can use public function radianFromDegree from d_chart.
startAngle: radianFromDegree(90),
showLabel
| Type | default |
|---|---|
| bool | false |
arcLabelDecorator
| Type | default |
|---|---|
| ArcLabelDecorator<T> | ArcLabelDecoratorN/O/T |