LineChartDrawingModel
class LineChartDrawingModel(pointInfo: List<Map<Float, LineChartDrawingModel.PointInfo>>, val opacity: Float = 1.0f) : DrawingModel<LineChartDrawingModel.PointInfo>
Houses drawing information for a LineChart. opacity is the lines’ opacity.
Types
Functions
Link copied to clipboard
open override fun transform(drawingInfo: List<Map<Float, LineChartDrawingModel.PointInfo>>, from: DrawingModel<LineChartDrawingModel.PointInfo>?, fraction: Float): DrawingModel<LineChartDrawingModel.PointInfo>
Returns an intermediate DrawingModel between this one and from. The returned drawing model includes the provided DrawingInfo list. fraction is the balance between from and this DrawingModel, with 0 corresponding to from, and 1 corresponding to this DrawingModel. The returned object should be an instance of the DrawingModel subclass to which this function belongs.