LineCartesianLayerDrawingModel
class LineCartesianLayerDrawingModel(entries: List<Map<Double, LineCartesianLayerDrawingModel.Entry>>, val opacity: Float = 1.0f) : CartesianLayerDrawingModel<LineCartesianLayerDrawingModel.Entry>
Houses LineCartesianLayer drawing information. opacity is the lines’ opacity.
Constructors
Link copied to clipboard
constructor(entries: List<Map<Double, LineCartesianLayerDrawingModel.Entry>>, opacity: Float = 1.0f)
Types
Link copied to clipboard
Houses positional information for a LineCartesianLayer’s point. y expresses the distance of the point from the bottom of the LineCartesianLayer as a fraction of the LineCartesianLayer’s height.
Functions
Link copied to clipboard
open override fun transform(entries: List<Map<Double, LineCartesianLayerDrawingModel.Entry>>, from: CartesianLayerDrawingModel<LineCartesianLayerDrawingModel.Entry>?, fraction: Float): CartesianLayerDrawingModel<LineCartesianLayerDrawingModel.Entry>
Returns an intermediate CartesianLayerDrawingModel between this one and from. The returned drawing model includes the provided Entry 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.