CandleInfo

class CandleInfo(val bodyBottomY: Float, val bodyTopY: Float, val bottomWickY: Float, val topWickY: Float) : CartesianLayerDrawingModel.DrawingInfo

Houses positional information for a CandlestickCartesianLayer’s candle. Each position is stored as a distance from the bottom of the CandlestickCartesianLayer. The distances are expressed as fractions of the CandlestickCartesianLayer’s height.

Constructors

Link copied to clipboard
constructor(bodyBottomY: Float, bodyTopY: Float, bottomWickY: Float, topWickY: Float)

Properties

Link copied to clipboard

the position of the body’s bottom edge.

Link copied to clipboard

the position of the body’s top edge.

Link copied to clipboard

the position of the bottom wick’s bottom edge.

Link copied to clipboard

the position of the top wick’s top edge.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Returns an intermediate DrawingInfo implementation between this one and from. fraction is the balance between from and this DrawingInfo implementation, with 0 corresponding to from, and 1 corresponding to this DrawingInfo implementation. The returned object should be an instance of the DrawingInfo implementation to which this function belongs.