Documentation menu

Interface

CrosshairPoint

Properties

NameTypeDescription
logicalIndexnumber
timenumber | null

UTC ms, null beyond the data.

panenumber

Id of the pane under the pointer (the main pane for a synced crosshair).

pricenumber

Price at the crosshair; NaN for a crosshair received from a synced chart.

barBarValues | null
x?number

Pointer position in CSS px relative to the canvas; absent for a synced crosshair.

y?number

Declaration

export interface CrosshairPoint {
    logicalIndex: number;
    time: number | null;
    pane: number;
    price: number;
    bar: BarValues | null;
    x?: number;
    y?: number;
}

Used by

ChartEventMap