PieChartController constructor

PieChartController({
  1. bool drawEntryLabels = true,
  2. bool drawHole = true,
  3. bool drawSlicesUnderHole = false,
  4. bool usePercentValues = false,
  5. bool drawRoundedSlices = false,
  6. String centerText = "",
  7. double holeRadiusPercent = 50.0,
  8. double transparentCircleRadiusPercent = 55.0,
  9. bool drawCenterText = true,
  10. double centerTextRadiusPercent = 100.0,
  11. double maxAngle = 360,
  12. double minAngleForSlices = 0,
  13. double centerTextOffsetX = 0.0,
  14. double centerTextOffsetY = 0.0,
  15. TypeFace? centerTextTypeface,
  16. TypeFace? entryLabelTypeface,
  17. Color? backgroundColor,
  18. Color holeColor = ColorUtils.white,
  19. Color? centerTextColor,
  20. double? centerTextSize,
  21. IMarker? marker,
  22. Description? description,
  23. XAxisSettingFunction? xAxisSettingFunction,
  24. LegendSettingFunction? legendSettingFunction,
  25. DataRendererSettingFunction? rendererSettingFunction,
  26. OnChartValueSelectedListener? selectionListener,
  27. double rotationAngle = 270,
  28. double rawRotationAngle = 270,
  29. bool rotateEnabled = true,
  30. double minOffset = 30.0,
  31. String noDataText = "No chart data available.",
  32. double maxHighlightDistance = 100.0,
  33. bool highLightPerTapEnabled = true,
  34. double extraTopOffset = 0.0,
  35. double extraRightOffset = 0.0,
  36. double extraBottomOffset = 0.0,
  37. double extraLeftOffset = 0.0,
  38. bool drawMarkers = true,
  39. bool resolveGestureHorizontalConflict = false,
  40. bool resolveGestureVerticalConflict = false,
  41. double descTextSize = 12,
  42. double infoTextSize = 12,
  43. Color? descTextColor,
  44. Color? infoTextColor,
  45. Color? infoBgColor,
})

Implementation

PieChartController({
  this.drawEntryLabels = true,
  this.drawHole = true,
  this.drawSlicesUnderHole = false,
  this.usePercentValues = false,
  this.drawRoundedSlices = false,
  this.centerText = "",
  this.holeRadiusPercent = 50.0,
  this.transparentCircleRadiusPercent = 55.0,
  this.drawCenterText = true,
  this.centerTextRadiusPercent = 100.0,
  this.maxAngle = 360,
  this.minAngleForSlices = 0,
  this.centerTextOffsetX = 0.0,
  this.centerTextOffsetY = 0.0,
  this.centerTextTypeface,
  this.entryLabelTypeface,
  this.backgroundColor,
  this.holeColor = ColorUtils.white,
  this.centerTextColor,
  this.centerTextSize,
  IMarker? marker,
  Description? description,
  XAxisSettingFunction? xAxisSettingFunction,
  LegendSettingFunction? legendSettingFunction,
  DataRendererSettingFunction? rendererSettingFunction,
  OnChartValueSelectedListener? selectionListener,
  double rotationAngle = 270,
  double rawRotationAngle = 270,
  bool rotateEnabled = true,
  double minOffset = 30.0,
  String noDataText = "No chart data available.",
  double maxHighlightDistance = 100.0,
  bool highLightPerTapEnabled = true,
  double extraTopOffset = 0.0,
  double extraRightOffset = 0.0,
  double extraBottomOffset = 0.0,
  double extraLeftOffset = 0.0,
  bool drawMarkers = true,
  bool resolveGestureHorizontalConflict = false,
  bool resolveGestureVerticalConflict = false,
  double descTextSize = 12,
  double infoTextSize = 12,
  Color? descTextColor,
  Color? infoTextColor,
  Color? infoBgColor,
}) : super(
          marker: marker,
          noDataText: noDataText,
          xAxisSettingFunction: xAxisSettingFunction,
          legendSettingFunction: legendSettingFunction,
          rendererSettingFunction: rendererSettingFunction,
          description: description,
          selectionListener: selectionListener,
          maxHighlightDistance: maxHighlightDistance,
          highLightPerTapEnabled: highLightPerTapEnabled,
          extraTopOffset: extraTopOffset,
          extraRightOffset: extraRightOffset,
          extraBottomOffset: extraBottomOffset,
          extraLeftOffset: extraLeftOffset,
          drawMarkers: drawMarkers,
          resolveGestureHorizontalConflict: resolveGestureHorizontalConflict,
          resolveGestureVerticalConflict: resolveGestureVerticalConflict,
          descTextSize: descTextSize,
          infoTextSize: infoTextSize,
          descTextColor: descTextColor,
          infoTextColor: infoTextColor,
          infoBgColor: infoBgColor,
          rotationAngle: rotationAngle,
          rawRotationAngle: rawRotationAngle,
          rotateEnabled: rotateEnabled,
          minOffset: minOffset);