PieChartResponse constructor

const PieChartResponse({
  1. required Input<String> chartType,
  2. required Input<List<PieChartDataSetResponse>> dataSets,
  3. 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

Implementation

const PieChartResponse({
  required this.chartType,
  required this.dataSets,
  required this.showLabels,
});