One bar's pair of values; null where either plot has no value yet.

interface FillPoint {
    a: null | number;
    b: null | number;
    color?: string;
    index: number;
}

Properties

Properties

a: null | number
b: null | number
color?: string

Paints this bar onward in one colour, for a band shaded by something other than which line leads: trend state, a regime, a third series. The run is split at the bar where the colour changes, so it is per-bar and not merely per-crossing. Most specific wins: this, then the gradient, then up/down.

index: number

Logical index on the shared time axis (fractional is fine).