CandlestickChartController class

Inheritance

Constructors

CandlestickChartController({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
read / write, inherited
autoScaleMinMaxEnabled bool
read / write, inherited
axisLeft YAxis
read / write, inherited
axisLeftSettingFunction AxisLeftSettingFunction
read / write, inherited
axisRendererLeft YAxisRenderer
read / write, inherited
axisRendererRight YAxisRenderer
read / write, inherited
axisRight YAxis
read / write, inherited
axisRightSettingFunction AxisRightSettingFunction
read / write, inherited
backgroundColor Color
read / write, inherited
backgroundPaint Paint
read / write, inherited
borderColor Color
read / write, inherited
borderPaint Paint
read / write, inherited
borderStrokeWidth double
read / write, inherited
chartTransListener ChartTransListener
this is used for have a callback when chart translate or scale
read / write, inherited
clipValuesToContent bool
read / write, inherited
customViewPortEnabled bool
read / write, inherited
data CandleData
read / write, inherited-setter, override-getter
descPaint TextPainter
read / write, inherited
description Description
read / write, inherited
doubleTapToZoomEnabled bool
read / write, inherited
dragDecelerationFrictionCoef double
write-only, inherited
dragXEnabled bool
read / write, inherited
dragYEnabled bool
read / write, inherited
drawBorders bool
read / write, inherited
drawGridBackground bool
read / write, inherited
drawListener OnDrawListener
read / write, inherited
drawMarkers bool
read / write, inherited
extraBottomOffset double
read / write, inherited
extraLeftOffset double
read / write, inherited
extraRightOffset double
read / write, inherited
extraTopOffset double
read / write, inherited
gridBackColor Color
read / write, inherited
gridBackgroundPaint Paint
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
highlightPerDragEnabled bool
read / write, inherited
highLightPerTapEnabled bool
read / write, inherited
horizontalConflictResolveFunc CanDragDownFunction
read / write, inherited
infoBgColor Color
split child property
read / write, inherited
infoPaint TextPainter
read / write, inherited
keepPositionOnRotation bool
read / write, inherited
leftAxisTransformer Transformer
read / write, inherited
legend Legend
read / write, inherited
legendRenderer LegendRenderer
read / write, inherited
legendSettingFunction LegendSettingFunction
read / write, inherited
marker IMarker
needed
read / write, inherited
maxHighlightDistance double
option
read / write, inherited
maxVisibleCount int
read / write, inherited
minOffset double
read / write, inherited
painter CandlestickChartPainter
read / write, inherited-setter, override-getter
pinchZoomEnabled bool
read / write, inherited
rendererSettingFunction DataRendererSettingFunction
read / write, inherited
rightAxisTransformer Transformer
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scaleXEnabled bool
read / write, inherited
scaleYEnabled bool
read / write, inherited
selectionListener OnChartValueSelectedListener
read / write, inherited
state CandlestickChartState
read / write, inherited-setter, override-getter
touchEventListener OnTouchEventListener
this is used for user get touch event if they needed
read / write, inherited
verticalConflictResolveFunc CanDragDownFunction
read / write, inherited
viewPortHandler ViewPortHandler
read / write, inherited
xAxis XAxis
read / write, inherited
xAxisRenderer XAxisRenderer
read / write, inherited
xAxisSettingFunction XAxisSettingFunction
read / write, inherited
zoomMatrixBuffer Matrix4
read / write, inherited

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() CandlestickChartState
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 non-existent 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