CandlestickCartesianLayerDrawingModel

Constructors

Link copied to clipboard
constructor(entries: Map<Double, CandlestickCartesianLayerDrawingModel.CandleInfo>, opacity: Float = 1.0f)

Types

Link copied to clipboard
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.

Properties

Link copied to clipboard
val opacity: Float = 1.0f

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 CartesianLayerDrawingModel between this one and from. The returned drawing model includes the provided DrawingInfo list. fraction is the balance between from and this CartesianLayerDrawingModel, with 0 corresponding to from, and 1 corresponding to this CartesianLayerDrawingModel. The returned object should be an instance of the CartesianLayerDrawingModel subclass to which this function belongs.