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

interface FillPoint {
    a: null | number;
    b: null | number;
    color?: string;
    gradient?: FillGradient;
    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, or at the preceding intersection if the plots cross into that bar. Overrides both point and band gradients.

gradient?: FillGradient

Price-anchored gradient starting at this bar, or at the preceding intersection when the plots cross into it. Undefined uses the band's gradient.

index: number

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