ChartSeries

constructor(name: String? = null, values: ImmutableList<Double>)(source)

Parameters

name

Optional display name, not a unique series identifier.

values

The series values. Mutating the supplied list after construction is safe but does not update this series; values are copied into an immutable list. Raw values retain Double precision; drawing coordinates can be normalized separately. Convert other numeric types or parse strings before constructing the series.


constructor(name: String? = null, values: List<Double>)(source)

Convenience constructor accepting a mutable list of values.

Parameters

name

Optional series name.

values

The series values; copied into an immutable list.