PieData.clockwise constructor

PieData.clockwise({
  1. bool visible = true,
  2. Offset origin = Offset.zero,
  3. IChartLayout? layout,
  4. bool? crop,
  5. ChartInsets padding = const ChartInsets(),
  6. required List<DataPoint> pies,
  7. ThicknessData thickness = const ThicknessData(size: Px(2.0)),
  8. double pieOffset = 0.0,
  9. double padAngle = 0.0,
  10. ThicknessData? border,
  11. ILengthValue? borderRadius,
  12. IDataPointStyle? pointStyle,
})

Pie in the human-friendly "Clock" or "Gauge" orientation.

Features:

  • Zero Y (0°): Starts at the 12 o'clock position (Top).
  • Direction: Rotates clockwise.

Implementation

PieData.clockwise({
  this.visible = true,
  this.origin = Offset.zero,
  this.layout,
  this.crop,
  this.padding = const ChartInsets(),
  required this.pies,
  this.thickness = const ThicknessData(size: Px(2.0)),
  this.pieOffset = 0.0,
  this.padAngle = 0.0,
  this.border,
  this.borderRadius,
  this.pointStyle,
}) : rotation = ChartRotation.d90, flip = ChartFlip.acrossY;