GridRenderer class

Renders adaptive background grid lines for prices and timestamps.

Inheritance

Constructors

GridRenderer(ChartTheme theme)

Properties

badgeBackgroundPaint ↔ Paint
latefinalinherited
bearBodyPaint ↔ Paint
latefinalinherited
bearVolumePaint ↔ Paint
latefinalinherited
bearWickPaint ↔ Paint
latefinalinherited
bullBodyPaint ↔ Paint
latefinalinherited
bullVolumePaint ↔ Paint
latefinalinherited
bullWickPaint ↔ Paint
latefinalinherited
crosshairPaint ↔ Paint
latefinalinherited
currentPriceLinePaint ↔ Paint
latefinalinherited
gridPaint ↔ Paint
latefinalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
theme → ChartTheme
finalinherited

Methods

drawGrid({required Canvas canvas, required Rect bounds, required PriceRange priceRange, required CoordinateConverter converter, required ChartViewport viewport, required int totalCandles, int verticalDivisions = 6, double minHorizontalSpacing = 80.0}) → void
Draws the background grid for the specified pane.
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