interface DrawItem {
    bar: Bar;
    prevClose?: number;
    x: number;
}

Properties

Properties

bar: Bar
prevClose?: number

Close of the bar left of the visible range, carried on the first item only. Previous-close candle colouring is the one renderer that reads it, because it is the one that needs a reference the visible window does not hold.

x: number