BaseChartRenderer<T> class

Implementers

Constructors

BaseChartRenderer({@required Rect chartRect, @required double maxValue, @required double minValue, @required double topPadding, @required int fixedLength})

Properties

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

Methods

drawChart(T lastPoint, T curPoint, double lastX, double curX, Size size, Canvas canvas) → void
drawGrid(Canvas canvas, int gridRows, int gridColumns) → void
drawLine(double lastPrice, double curPrice, Canvas canvas, double lastX, double curX, Color color) → void
drawRightText(dynamic canvas, dynamic textStyle, int gridRows) → void
drawText(Canvas canvas, T data, double x) → void
format(double n) String
getTextStyle(Color color) TextStyle
getY(double y) double
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