LineChartDrawingModel

Houses drawing information for a LineChart. opacity is the lines’ opacity.

Constructors

Link copied to clipboard
constructor(pointInfo: List<Map<Float, LineChartDrawingModel.PointInfo>>, opacity: Float = 1.0f)

Types

Link copied to clipboard

Houses positional information for a LineChart’s point. y expresses the distance of the point from the bottom of the LineChart as a fraction of the LineChart’s height.

Properties

Link copied to clipboard
val opacity: Float = 1.0f

Functions

Link copied to clipboard

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.