Documentation menu

Interface

ValueData

Columns of Series.setData for line, area, baseline, histogram and points series.

Properties

NameTypeDescription
timeBigInt64Array | Float64Array | number[]
valueFloat64Array | number[]

NaN is a gap.

color?(Color | null)[] | Uint32Array

Per-point colors (null: the series color), or 0xRRGGBBAA values. Only histogram series draw them, and only at full detail (zoomed out far enough that bars are merged, the series color is used). Other kinds ignore them.

Declaration

export interface ValueData {
    time: BigInt64Array | Float64Array | number[];
    value: Float64Array | number[];
    color?: (Color | null)[] | Uint32Array;
}

Used by

Series