SecondaryRenderer class
- Inheritance
-
- Object
- BaseChartRenderer<
MACDEntity> - SecondaryRenderer
Constructors
- SecondaryRenderer(Rect mainRect, double maxValue, double minValue, double topPadding, SecondaryIndicator indicator, int fixedLength, KChartStyle chartStyle, KChartColors chartColors)
Properties
- chartColors → KChartColors
-
final
- chartPaint ↔ Paint
-
getter/setter pairinherited
- chartRect ↔ Rect
-
getter/setter pairinherited
- chartStyle → KChartStyle
-
final
- fixedLength ↔ int
-
getter/setter pairinherited
- gridPaint ↔ Paint
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- indicator ↔ SecondaryIndicator
-
getter/setter pair
- maxValue ↔ double
-
getter/setter pairinherited
- minValue ↔ double
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleY ↔ double
-
getter/setter pairinherited
- topPadding ↔ double
-
getter/setter pairinherited
Methods
-
drawChart(
MACDEntity lastPoint, MACDEntity curPoint, double lastX, double curX, Size size, Canvas canvas) → void -
override
-
drawGrid(
Canvas canvas, int gridRows, int gridColumns) → void -
override
-
drawLine(
double? lastPrice, double? curPrice, Canvas canvas, double lastX, double curX, Color color) → void -
inherited
-
drawText(
Canvas canvas, MACDEntity data, double x) → void -
override
-
drawVerticalText(
dynamic canvas, dynamic textStyle, int gridRows) → void -
override
-
getTextStyle(
Color color) → TextStyle -
inherited
-
getY(
double y) → double -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited