charturbo - v0.1.0
    Preparing search index...

    Interface ChartHoverStyle

    Hover layer of line / bar / scatter charts, rendered by the engine on the GPU.

    interface ChartHoverStyle {
        barHighlightColor?: ColorInput;
        crosshair?: boolean;
        crosshairColor?: ColorInput;
        crosshairWidth?: number;
        hitRadius?: number;
        marker?: boolean;
        markerRadius?: number;
        markerRingColor?: ColorInput;
        markerRingWidth?: number;
        mode?: "index" | "nearest";
    }
    Index
    barHighlightColor?: ColorInput

    Color of the hovered bar (default: the bar color lightened by 22%)

    crosshair?: boolean

    Vertical guide line at the hovered x on 2D line charts (default: true)

    crosshairColor?: ColorInput

    Crosshair color (default: [0.58, 0.64, 0.72, 0.55])

    crosshairWidth?: number

    Crosshair width in CSS pixels (default: 1)

    hitRadius?: number

    'nearest' mode pick radius in CSS pixels (default: 24)

    marker?: boolean

    Point markers on hovered values, filled with the series color (default: true)

    markerRadius?: number

    Marker radius in CSS pixels, excluding the ring (default: 4)

    markerRingColor?: ColorInput

    Ring separating the marker from the line; use the chart background (default: [0.035, 0.045, 0.08, 1])

    markerRingWidth?: number

    Ring width in CSS pixels (default: 2)

    mode?: "index" | "nearest"

    Line charts: 'index' snaps to the hovered x and shows every series there (default); 'nearest' shows only the closest data point. The 2.5D view always uses 'nearest'.