ColumnCartesianLayerDrawingModel
class ColumnCartesianLayerDrawingModel(entries: List<Map<Double, ColumnCartesianLayerDrawingModel.ColumnInfo>>, val opacity: Float = 1.0f) : CartesianLayerDrawingModel<ColumnCartesianLayerDrawingModel.ColumnInfo>
Houses drawing information for a ColumnCartesianLayer. opacity is the columns’ opacity.
Constructors
Link copied to clipboard
constructor(entries: List<Map<Double, ColumnCartesianLayerDrawingModel.ColumnInfo>>, opacity: Float = 1.0f)
Types
Link copied to clipboard
Houses positional information for a ColumnCartesianLayer’s column. height expresses the column’s height as a fraction of the ColumnCartesianLayer’s height.
Functions
Link copied to clipboard
open override fun transform(drawingInfo: List<Map<Double, ColumnCartesianLayerDrawingModel.ColumnInfo>>, from: CartesianLayerDrawingModel<ColumnCartesianLayerDrawingModel.ColumnInfo>?, fraction: Float): CartesianLayerDrawingModel<ColumnCartesianLayerDrawingModel.ColumnInfo>
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.