PieChartResponse class

A widget that displays timeseries data as a pie or a donut.

Constructors

PieChartResponse({required Input<String> chartType, required Input<List<PieChartDataSetResponse>> dataSets, required Input<bool> showLabels})
Creates a new PieChartResponse. chartType Indicates the visualization type for the PieChart. dataSets The queries for the chart's data. showLabels Optional. Indicates whether or not the pie chart should show slices' labels
const
PieChartResponse.fromMap(Map<String, dynamic> map)
factory

Properties

chartType → Input<String>
Indicates the visualization type for the PieChart.
final
dataSets → Input<List<PieChartDataSetResponse>>
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