ScatterChartController constructor
ScatterChartController({
- int maxVisibleCount = 100,
- bool autoScaleMinMaxEnabled = true,
- bool doubleTapToZoomEnabled = true,
- bool highlightPerDragEnabled = true,
- bool dragXEnabled = true,
- bool dragYEnabled = true,
- bool scaleXEnabled = true,
- bool scaleYEnabled = true,
- bool drawGridBackground = false,
- bool drawBorders = false,
- bool clipValuesToContent = false,
- double minOffset = 30.0,
- OnDrawListener? drawListener,
- YAxis? axisLeft,
- YAxis? axisRight,
- YAxisRenderer? axisRendererLeft,
- YAxisRenderer? axisRendererRight,
- Transformer? leftAxisTransformer,
- Transformer? rightAxisTransformer,
- XAxisRenderer? xAxisRenderer,
- bool customViewPortEnabled = false,
- Matrix4? zoomMatrixBuffer,
- bool pinchZoomEnabled = true,
- bool keepPositionOnRotation = false,
- Paint? gridBackgroundPaint,
- Paint? borderPaint,
- Color? backgroundColor,
- Color? gridBackColor,
- Color? borderColor,
- double borderStrokeWidth = 1.0,
- AxisLeftSettingFunction? axisLeftSettingFunction,
- AxisRightSettingFunction? axisRightSettingFunction,
- OnTouchEventListener? touchEventListener,
- IMarker? marker,
- Description? description,
- String noDataText = "No chart data available.",
- XAxisSettingFunction? xAxisSettingFunction,
- LegendSettingFunction? legendSettingFunction,
- DataRendererSettingFunction? rendererSettingFunction,
- OnChartValueSelectedListener? selectionListener,
- 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,
- ChartTransListener? chartTransListener,
Implementation
ScatterChartController({
int maxVisibleCount = 100,
bool autoScaleMinMaxEnabled = true,
bool doubleTapToZoomEnabled = true,
bool highlightPerDragEnabled = true,
bool dragXEnabled = true,
bool dragYEnabled = true,
bool scaleXEnabled = true,
bool scaleYEnabled = true,
bool drawGridBackground = false,
bool drawBorders = false,
bool clipValuesToContent = false,
double minOffset = 30.0,
OnDrawListener? drawListener,
YAxis? axisLeft,
YAxis? axisRight,
YAxisRenderer? axisRendererLeft,
YAxisRenderer? axisRendererRight,
Transformer? leftAxisTransformer,
Transformer? rightAxisTransformer,
XAxisRenderer? xAxisRenderer,
bool customViewPortEnabled = false,
Matrix4? zoomMatrixBuffer,
bool pinchZoomEnabled = true,
bool keepPositionOnRotation = false,
Paint? gridBackgroundPaint,
Paint? borderPaint,
Color? backgroundColor,
Color? gridBackColor,
Color? borderColor,
double borderStrokeWidth = 1.0,
AxisLeftSettingFunction? axisLeftSettingFunction,
AxisRightSettingFunction? axisRightSettingFunction,
OnTouchEventListener? touchEventListener,
IMarker? marker,
Description? description,
String noDataText = "No chart data available.",
XAxisSettingFunction? xAxisSettingFunction,
LegendSettingFunction? legendSettingFunction,
DataRendererSettingFunction? rendererSettingFunction,
OnChartValueSelectedListener? selectionListener,
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,
ChartTransListener? chartTransListener,
}) : super(
marker: marker,
description: description,
noDataText: noDataText,
xAxisSettingFunction: xAxisSettingFunction,
legendSettingFunction: legendSettingFunction,
rendererSettingFunction: rendererSettingFunction,
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,
maxVisibleCount: maxVisibleCount,
autoScaleMinMaxEnabled: autoScaleMinMaxEnabled,
doubleTapToZoomEnabled: doubleTapToZoomEnabled,
highlightPerDragEnabled: highlightPerDragEnabled,
dragXEnabled: dragXEnabled,
dragYEnabled: dragYEnabled,
scaleXEnabled: scaleXEnabled,
scaleYEnabled: scaleYEnabled,
drawGridBackground: drawGridBackground,
drawBorders: drawBorders,
clipValuesToContent: clipValuesToContent,
minOffset: minOffset,
drawListener: drawListener,
axisLeft: axisLeft,
axisRight: axisRight,
axisRendererLeft: axisRendererLeft,
axisRendererRight: axisRendererRight,
leftAxisTransformer: leftAxisTransformer,
rightAxisTransformer: rightAxisTransformer,
xAxisRenderer: xAxisRenderer,
customViewPortEnabled: customViewPortEnabled,
zoomMatrixBuffer: zoomMatrixBuffer,
pinchZoomEnabled: pinchZoomEnabled,
keepPositionOnRotation: keepPositionOnRotation,
gridBackgroundPaint: gridBackgroundPaint,
borderPaint: borderPaint,
backgroundColor: backgroundColor,
gridBackColor: gridBackColor,
borderColor: borderColor,
borderStrokeWidth: borderStrokeWidth,
axisLeftSettingFunction: axisLeftSettingFunction,
axisRightSettingFunction: axisRightSettingFunction,
touchEventListener: touchEventListener,
chartTransListener: chartTransListener);