A shaded band between two of an indicator's plots.

interface IndicatorFillSpec {
    between: readonly [string, string];
    colorDown?: string;
    colorDownKey?: string;
    colorUp?: string;
    colorUpKey?: string;
    opacity?: number;
}

Properties

between: readonly [string, string]

The two plot keys to fill between.

colorDown?: string

Colour where the second is above the first.

colorDownKey?: string
colorUp?: string

Colour where the first plot is above the second.

colorUpKey?: string

Settings keys holding those colours, so the band is restyleable.

opacity?: number

0..1. Defaults to 0.12.