PieSeries<T, D> class
Renders the pie series.
- Inheritance
- Object
- ChartSeries<
T, D> - CircularSeries<
T, D> - PieSeries
Constructors
-
PieSeries({List<
T> dataSource, ChartValueMapper<T, D> xValueMapper, ChartValueMapper<T, num> yValueMapper, ChartValueMapper<T, Color> pointColorMapper, ChartValueMapper<T, String> pointRadiusMapper, ChartValueMapper<T, String> dataLabelMapper, ChartValueMapper<T, String> sortFieldValueMapper, int startAngle, int endAngle, String radius, bool explode, bool explodeAll, int explodeIndex, ActivationMode explodeGesture, String explodeOffset, double groupTo, CircularChartGroupMode groupMode, EmptyPointSettings emptyPointSettings, Color strokeColor, double strokeWidth, double opacity, DataLabelSettings dataLabelSettings, bool enableTooltip, bool enableSmartLabels, String name, double animationDuration, SelectionSettings selectionSettings, SortingOrder sortingOrder, LegendIconType legendIconType })
Properties
- animationDuration → double
-
Duration for animating the data points. [...]
final, inherited
- borderColor → Color
-
Border color of the data points in the series. [...]
final, inherited
- borderWidth → double
-
Border width of the data points in the series. [...]
final, inherited
- cornerStyle → CornerStyle
-
Specifies the radial bar’s corner type. [...]
final, inherited
-
dataLabelMapper
→ ChartIndexedValueMapper<
String> -
Maps the field name, which will be considered as text for the data points. [...]
final, inherited
- dataLabelSettings → DataLabelSettings
-
Toggles the visibility of the tooltip for this series. [...]
final, inherited
-
dataSource
→ List<
T> -
A collection of data required for rendering the series. If no data source is specified,
empty chart will be rendered without series. [...]
final, inherited
- emptyPointSettings → EmptyPointSettings
-
Customizes the empty data points in the series [...]
final, inherited
- enableSmartLabels → bool
-
Data label placement without collision. [...]
final, inherited
- enableTooltip → bool
-
Toggles the visibility of the tooltip for this series. [...]
final, inherited
- endAngle → int
-
Ending angle of the series. [...]
final, inherited
- explode → bool
-
Enables or disables the explode of slices on tap. [...]
final, inherited
- explodeAll → bool
-
Enables or disables exploding all the slices at the initial rendering. [...]
final, inherited
- explodeGesture → ActivationMode
-
Gesture for activating the explode. Explode can be activated in tap, double tap,
and long press. [...]
final, inherited
- explodeIndex → int
-
Index of the slice to explode it at the initial rendering. [...]
final, inherited
- explodeOffset → String
-
Offset of exploded slice. The value ranges from 0% to 100%. [...]
final, inherited
- gap → String
-
Specifies the gap between the radial bars in percentage. [...]
final, inherited
- groupMode → CircularChartGroupMode
-
Slice can also be grouped based on the data points value or based on index. [...]
final, inherited
- groupTo → double
-
Groups the data points of the series based on their index or values. [...]
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- innerRadius → String
-
Inner radius of the series. The value ranges from 0% to 100%. [...]
final, inherited
- isVisible ↔ bool
-
read / write, inherited
- legendIconType → LegendIconType
-
Shape of the legend icon. Any shape in the LegendIconType can be applied to this property.
By default, icon will be rendered based on the type of the series. [...]
final, inherited
- maximumValue → double
-
Specifies the maximum value of the radial bar. By default, the maximum value of
the data point will be considered as maximum value. [...]
final, inherited
- name → String
-
Name of the series. [...]
final, inherited
- opacity → double
-
Opacity of the series. The value ranges from 0 to 1. [...]
final, inherited
-
pointColorMapper
→ ChartIndexedValueMapper<
Color> -
Maps the field name, which will be considered as x-values. [...]
final, inherited
-
pointRadiusMapper
→ ChartIndexedValueMapper<
String> -
Maps the field name, which will be considered for calculating the radius of
all the data points. [...]
final, inherited
- radius → String
-
Radius of the series. The value ranges from 0% to 100%. [...]
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- selectionSettings → SelectionSettings
-
Customizes the selection of series. [...]
final, inherited
- sortFieldValueMapper → ChartIndexedValueMapper
-
Field in the data source for performing sorting. Sorting will be performed
based on this field. [...]
final, inherited
- sortingOrder → SortingOrder
-
Type of sorting. The data points in the series can be sorted in ascending or descending
order.The data points will be rendered in the specified order if it is set to none. [...]
final, inherited
- startAngle → int
-
Starting angle of the series. [...]
final, inherited
-
xValueMapper
→ ChartIndexedValueMapper<
D> -
Maps the field name, which will be considered as x-values. [...]
final, inherited
-
yValueMapper
→ ChartIndexedValueMapper<
num> -
Maps the field name, which will be considered as y-values. [...]
final, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited