LineCartesianLayerDrawingModel
class LineCartesianLayerDrawingModel(pointInfo: List<Map<Double, LineCartesianLayerDrawingModel.PointInfo>>, val opacity: Float = 1.0f) : CartesianLayerDrawingModel<LineCartesianLayerDrawingModel.PointInfo>
Houses LineCartesianLayer drawing information. opacity is the lines’ opacity.
Constructors
Link copied to clipboard
constructor(pointInfo: List<Map<Double, LineCartesianLayerDrawingModel.PointInfo>>, 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(drawingInfo: List<Map<Double, LineCartesianLayerDrawingModel.PointInfo>>, from: CartesianLayerDrawingModel<LineCartesianLayerDrawingModel.PointInfo>?, fraction: Float): CartesianLayerDrawingModel<LineCartesianLayerDrawingModel.PointInfo>
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.