PieChartController constructor
PieChartController({
- bool drawEntryLabels = true,
- bool drawHole = true,
- bool drawSlicesUnderHole = false,
- bool usePercentValues = false,
- bool drawRoundedSlices = false,
- String centerText = "",
- double holeRadiusPercent = 50.0,
- double transparentCircleRadiusPercent = 55.0,
- bool drawCenterText = true,
- double centerTextRadiusPercent = 100.0,
- double maxAngle = 360,
- double minAngleForSlices = 0,
- double centerTextOffsetX = 0.0,
- double centerTextOffsetY = 0.0,
- TypeFace? centerTextTypeface,
- TypeFace? entryLabelTypeface,
- Color? backgroundColor,
- Color holeColor = ColorUtils.white,
- Color? centerTextColor,
- double? 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,
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);