DefaultMultiPoint

data class DefaultMultiPoint<X>(val x: X, val y: List<Float>) : MultiPoint<X, Float>

Deprecated

Use StackedAreaPlotEntry instead.

Default implementation of the MultiPoint interface using Floats for y-axis values.

Parameters

X

Data type for x-axis values

Constructors

Link copied to clipboard
constructor(x: X, y: List<Float>)

Properties

Link copied to clipboard
open override val x: X

The x-axis value of this MultiPoint.

Link copied to clipboard
open override val y: List<Float>

The y-axis values for each line series corresponding to the x-axis value.

Functions

Link copied to clipboard
open override fun accumulateTo(series: Int): Point<X, Float>

Computes the stacked value of the point up to and including the series at index series from the y value List and returns it as a Point.