interface ContextMenuTarget {
    id: null | string;
    instanceId?: string;
    kind: ContextMenuTargetKind;
    scaleId?: PriceScaleId;
    seriesType?: SeriesType;
    side?: "left" | "right";
}

Properties

id: null | string

Hit-test id of the thing under the pointer, when there was one.

instanceId?: string

Indicator instance id, when kind is 'indicator'.

scaleId?: PriceScaleId

Which of the pane's scales that strip acts on, when kind is 'price-scale': the side's own scale, or the hidden overlay scale ('') when the side carries no series of its own and the pane's values are all on the overlay. It is the argument the priceAxis* calls take.

seriesType?: SeriesType

Series type, when kind is 'series'.

side?: "left" | "right"

Which axis strip was hit, when kind is 'price-scale'.