charturbo - v0.1.0
    Preparing search index...

    Interface CharturboPointDragEvent

    pointDrag (while dragging) / pointDragEnd (commit or cancel) payload.

    interface CharturboPointDragEvent {
        cancelled?: boolean;
        chartType: "line" | "scatter";
        index: number;
        newValue: ChartPointValue;
        oldValue: ChartPointValue;
        series: number;
        source: "keyboard" | "pointer";
    }
    Index
    cancelled?: boolean

    pointDragEnd only: Escape / pointer cancel restored oldValue

    chartType: "line" | "scatter"
    index: number

    Line: sample index; scatter: point index in the input arrays

    newValue: ChartPointValue
    oldValue: ChartPointValue

    Value before the drag (line x = sample index on charts without x)

    series: number

    Line series index / scatter series id

    source: "keyboard" | "pointer"