UPieChart constructor

const UPieChart({
  1. required List<ChartData> data,
  2. ChartLegendPosition legendPosition = ChartLegendPosition.left,
  3. ChartOverflowMode overflowMode = ChartOverflowMode.wrap,
  4. bool showLegend = true,
  5. bool enableTooltip = true,
  6. String radius = "100%",
  7. double animationDuration = 1000,
  8. double animationDelay = 1000,
  9. DataLabelSettings dataLabelSettings = const DataLabelSettings(isVisible: true),
  10. Key? key,
})

Implementation

const UPieChart({
  required this.data,
  this.legendPosition = ChartLegendPosition.left,
  this.overflowMode = ChartOverflowMode.wrap,
  this.showLegend = true,
  this.enableTooltip = true,
  this.radius = "100%",
  this.animationDuration = 1000,
  this.animationDelay = 1000,
  this.dataLabelSettings = const DataLabelSettings(isVisible: true),
  super.key,
});