PieChart class
A widget that displays timeseries data as a pie or a donut.
Constructors
-
PieChart({required Input<
PieChartChartType> chartType, required Input<List< dataSets, Input<PieChartDataSet> >bool> ? showLabels}) -
Creates a new PieChart.
chartTypeIndicates the visualization type for the PieChart.dataSetsThe queries for the chart's data.showLabelsOptional. Indicates whether or not the pie chart should show slices' labelsconst -
PieChart.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
chartType
→ Input<
PieChartChartType> -
Indicates the visualization type for the PieChart.
final
-
dataSets
→ Input<
List< PieChartDataSet> > -
The queries for the chart's data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
showLabels
→ Input<
bool> ? -
Optional. Indicates whether or not the pie chart should show slices' labels
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited