CartesianLayerDrawingModel
abstract class CartesianLayerDrawingModel<T : CartesianLayerDrawingModel.DrawingInfo>(drawingInfo: List<Map<Double, T>>) : List<Map<Double, T>>
Houses drawing information for a CartesianLayer.
Inheritors
Types
Link copied to clipboard
interface DrawingInfo
Houses positional information for a single CartesianLayer entity (e.g., a column or a point).
Functions
Link copied to clipboard
abstract fun transform(drawingInfo: List<Map<Double, T>>, from: CartesianLayerDrawingModel<T>?, fraction: Float): CartesianLayerDrawingModel<T>
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.