interface RendererEntry {
    defaultStyle: SeriesStyle;
    isPriceSeries: boolean;
    draw(
        ctx: CanvasRenderingContext2D,
        items: readonly DrawItem[],
        toY: (v: number) => number,
        barSpacing: number,
        dpr: number,
        style: SeriesStyle,
        rc: SeriesRenderContext,
    ): void;
    extents(bar: Bar, style: SeriesStyle): { max: number; min: number };
}

Properties

defaultStyle: SeriesStyle
isPriceSeries: boolean

True for the price series whose last close drives the last-price line.

Methods