SecondaryRenderer class

Inheritance

Constructors

SecondaryRenderer(Rect mainRect, double maxValue, double minValue, double topPadding, SecondaryState state, int fixedLength)

Properties

chartPaint Paint
read / write, inherited
chartRect Rect
read / write, inherited
fixedLength int
read / write, inherited
gridPaint Paint
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
maxValue double
read / write, inherited
minValue double
read / write, inherited
mMACDWidth double
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scaleY double
read / write, inherited
state SecondaryState
read / write
topPadding double
read / write, inherited

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
drawMACD(MACDEntity curPoint, Canvas canvas, double curX, MACDEntity lastPoint, double lastX) → void
drawRightText(dynamic canvas, dynamic textStyle, int gridRows) → void
override
drawText(Canvas canvas, MACDEntity data, double x) → void
override
format(double n) String
inherited
getTextStyle(Color color) TextStyle
inherited
getY(double y) double
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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