VolRenderer class
- Inheritance
-
- Object
- BaseChartRenderer<
VolumeEntity> - VolRenderer
Constructors
- VolRenderer({required Rect chartRect, required double maxValue, required double minValue, required VolumeRendererStyle style, String dataFormat(double value)?})
Properties
- chartPaint ↔ Paint
-
getter/setter pairinherited
- chartRect ↔ Rect
-
getter/setter pairinherited
- dataFormat → String Function(double value)?
-
finalinherited
- gridPaint ↔ Paint
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
- style → VolumeRendererStyle
-
final
Methods
-
drawChart(
VolumeEntity lastPoint, VolumeEntity 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, VolumeEntity data, double x) → void -
override
-
drawVerticalText(
dynamic canvas, dynamic textStyle, int gridRows) → void -
override
-
format(
double? n) → String -
inherited
-
getTextStyle(
Color color) → TextStyle -
inherited
-
getVolY(
double value) → double -
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