AxisRenderer class

Renders the right price scale (Y-axis) and bottom timestamp scale (X-axis).

Inheritance

Constructors

AxisRenderer(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

drawPriceAxis({required Canvas canvas, required Rect axisBounds, required Rect paneBounds, required PriceRange priceRange, int verticalDivisions = 6}) → void
Draws the price scale on the right.
drawTimeAxis({required Canvas canvas, required Rect timeBounds, required List<Candle> candles, required VisibleIndices visible, required CoordinateConverter converter, required ChartViewport viewport, required Timeframe timeframe, double minLabelSpacing = 85.0, double priceAxisWidth = 65.0}) → void
Draws the time scale along the bottom.
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