ScatterChartController class

Inheritance

Constructors

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})

Properties

animator Animator?
getter/setter pairinherited
autoScaleMinMaxEnabled bool
getter/setter pairinherited
axisLeft YAxis?
getter/setter pairinherited
axisLeftSettingFunction AxisLeftSettingFunction?
getter/setter pairinherited
axisRendererLeft YAxisRenderer?
getter/setter pairinherited
axisRendererRight YAxisRenderer?
getter/setter pairinherited
axisRight YAxis?
getter/setter pairinherited
axisRightSettingFunction AxisRightSettingFunction?
getter/setter pairinherited
backgroundColor Color?
getter/setter pairinherited
backgroundPaint Paint?
getter/setter pairinherited
borderColor Color?
getter/setter pairinherited
borderPaint Paint?
getter/setter pairinherited
borderStrokeWidth double
getter/setter pairinherited
chartTransListener ChartTransListener?
this is used for have a callback when chart translate or scale
getter/setter pairinherited
clipValuesToContent bool
getter/setter pairinherited
customViewPortEnabled bool
getter/setter pairinherited
data ScatterData?
getter/setter pairinherited-setteroverride-getter
descPaint TextPainter?
getter/setter pairinherited
description Description?
getter/setter pairinherited
doubleTapToZoomEnabled bool
getter/setter pairinherited
dragDecelerationFrictionCoef double
no getterinherited
dragXEnabled bool
getter/setter pairinherited
dragYEnabled bool
getter/setter pairinherited
drawBorders bool
getter/setter pairinherited
drawGridBackground bool
getter/setter pairinherited
drawListener OnDrawListener?
getter/setter pairinherited
drawMarkers bool
getter/setter pairinherited
extraBottomOffset double
getter/setter pairinherited
extraLeftOffset double
getter/setter pairinherited
extraRightOffset double
getter/setter pairinherited
extraTopOffset double
getter/setter pairinherited
gridBackColor Color?
getter/setter pairinherited
gridBackgroundPaint Paint?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
highlightPerDragEnabled bool
getter/setter pairinherited
highLightPerTapEnabled bool
getter/setter pairinherited
horizontalConflictResolveFunc ↔ CanDragDownFunction?
getter/setter pairinherited
infoBgColor Color?
/// split child property
getter/setter pairinherited
infoPaint TextPainter?
getter/setter pairinherited
keepPositionOnRotation bool
getter/setter pairinherited
leftAxisTransformer Transformer?
getter/setter pairinherited
legend Legend?
getter/setter pairinherited
legendRenderer LegendRenderer?
getter/setter pairinherited
legendSettingFunction LegendSettingFunction?
getter/setter pairinherited
marker IMarker?
/// needed
getter/setter pairinherited
maxHighlightDistance double
/// option
getter/setter pairinherited
maxVisibleCount int
getter/setter pairinherited
minOffset double
getter/setter pairinherited
painter ScatterChartPainter?
getter/setter pairinherited
pinchZoomEnabled bool
getter/setter pairinherited
rendererSettingFunction DataRendererSettingFunction?
getter/setter pairinherited
rightAxisTransformer Transformer?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleXEnabled bool
getter/setter pairinherited
scaleYEnabled bool
getter/setter pairinherited
selectionListener OnChartValueSelectedListener?
getter/setter pairinherited
state ScatterChartState
getter/setter pairinherited-setteroverride-getter
touchEventListener OnTouchEventListener?
this is used for user get touch event if they needed
getter/setter pairinherited
verticalConflictResolveFunc ↔ CanDragDownFunction?
getter/setter pairinherited
viewPortHandler ViewPortHandler?
getter/setter pairinherited
xAxis XAxis?
getter/setter pairinherited
xAxisRenderer XAxisRenderer?
getter/setter pairinherited
xAxisSettingFunction XAxisSettingFunction?
getter/setter pairinherited
zoomMatrixBuffer Matrix4?
getter/setter pairinherited

Methods

centerViewTo(double xValue, double yValue, AxisDependency axis) → void
This will move the center of the current viewport to the specified x and y value. call state?.setStateIfNotDispose() to invalidate
inherited
centerViewToAnimated(double xValue, double yValue, AxisDependency axis, int durationMillis) → void
This will move the center of the current viewport to the specified x and y value animated.
inherited
centerViewToY(double yValue, AxisDependency axis) → void
Centers the viewport to the specified y value on the y-axis. call state?.setStateIfNotDispose() to invalidate
inherited
computeScroll() → void
inherited
createChartState() ChartState<Chart<Controller<ChartPainter<ChartData<IDataSet<Entry>>?>>>>
inherited
createRealState() ScatterChartState
override
doneBeforePainterInit() → void
inherited
getAxisRange(AxisDependency axis) double
inherited
getValuesByTouchPoint(double x, double y, AxisDependency axis) MPPointD
inherited
initAxisLeft() YAxis
inherited
initAxisRendererLeft() YAxisRenderer
inherited
initAxisRendererRight() YAxisRenderer
inherited
initAxisRight() YAxis
inherited
initDescription() Description
inherited
initDrawListener() OnDrawListener?
inherited
initialPainter() → void
override
initLeftAxisTransformer() Transformer
inherited
initLegend() Legend
inherited
initLegendRenderer() LegendRenderer
inherited
initMarker() IMarker?
inherited
initRightAxisTransformer() Transformer
inherited
initSelectionListener() OnChartValueSelectedListener?
inherited
initViewPortHandler() ViewPortHandler
inherited
initXAxis() XAxis
inherited
initXAxisRenderer() XAxisRenderer
inherited
initZoomMatrixBuffer() Matrix4
inherited
moveViewTo(double xValue, double yValue, AxisDependency axis) → void
This will move the left side of the current viewport to the specified x-value on the x-axis, and center the viewport to the specified y value on the y-axis. call state?.setStateIfNotDispose() to invalidate
inherited
moveViewToAnimated(double xValue, double yValue, AxisDependency axis, int durationMillis) → void
This will move the left side of the current viewport to the specified x-value and center the viewport to the y value animated. call state?.setStateIfNotDispose() to invalidate
inherited
moveViewToX(double xValue) → void
Moves the left side of the current viewport to the specified x-position. call state?.setStateIfNotDispose() to invalidate
inherited
moveViewToY(double yValue, AxisDependency axis) → void
This will center the viewport to the specified y value on the y-axis. call state?.setStateIfNotDispose() to invalidate
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAnimationUpdate(double x, double y) → void
inherited
onRotateUpdate(double? angle) → void
inherited
setDecelerationVelocity(Offset velocityOffset) → void
inherited
setScaleMinima(double scaleX, double scaleY) → void
Sets the minimum scale factor value to which can be zoomed out. 1f = fitScreen
inherited
setViewPortOffsets(double left, double top, double right, double bottom) → void
inherited
setVisibleXRange(double minXRange, double maxXRange) → void
Limits the maximum and minimum x range that can be visible by pinching and zooming. e.g. minRange=10, maxRange=100 the smallest range to be displayed at once is 10, and no more than a range of 100 values can be viewed at once without scrolling
inherited
setVisibleXRangeMaximum(double maxXRange) → void
Sets the size of the area (range on the x-axis) that should be maximum visible at once (no further zooming out allowed). If this is e.g. set to 10, no more than a range of 10 on the x-axis can be viewed at once without scrolling.
inherited
setVisibleXRangeMinimum(double minXRange) → void
Sets the size of the area (range on the x-axis) that should be minimum visible at once (no further zooming in allowed). If this is e.g. set to 10, no less than a range of 10 on the x-axis can be viewed at once without scrolling.
inherited
setVisibleYRange(double minYRange, double maxYRange, AxisDependency axis) → void
Limits the maximum and minimum y range that can be visible by pinching and zooming.
inherited
setVisibleYRangeMaximum(double maxYRange, AxisDependency axis) → void
Sets the size of the area (range on the y-axis) that should be maximum visible at once.
inherited
setVisibleYRangeMinimum(double minYRange, AxisDependency axis) → void
Sets the size of the area (range on the y-axis) that should be minimum visible at once, no further zooming in possible.
inherited
stopDeceleration() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited