DChartPieO constructor

const DChartPieO({
  1. Key? key,
  2. required List<OrdinalData> data,
  3. bool animate = false,
  4. ConfigRenderPie? configRenderPie = const ConfigRenderPie(),
  5. Duration animationDuration = const Duration(milliseconds: 300),
  6. CustomLabelO? customLabel,
  7. void onUpdatedListener(
    1. OrdinalData data
    )?,
  8. void onChangedListener(
    1. OrdinalData data
    )?,
})

Ordinal Pie Chart

Implementation

const DChartPieO({
  super.key,
  required this.data,
  this.animate = false,
  this.configRenderPie = const ConfigRenderPie(),
  this.animationDuration = const Duration(milliseconds: 300),
  this.customLabel,
  this.onUpdatedListener,
  this.onChangedListener,
});