charturbo - v0.1.0
    Preparing search index...

    Interface ScatterChartOptions

    interface ScatterChartOptions {
        animation?: ChartAnimationInput;
        axes?: {
            x?: ChartAxisOptions & ChartScaleOptions & ChartAxisBreakOptions;
            y?: ChartAxisOptions & ChartScaleOptions & ChartAxisBreakOptions;
        };
        description?: string;
        grid?: ChartGridStyle;
        height?: number;
        hover?: ChartHoverStyle;
        jitter?: { seed?: number; x?: number; y?: number };
        legend?: boolean | ChartLegendOptions;
        opacity?: number;
        padding?: ChartPaddingOptions;
        pointRadius?: number;
        pointRing?: number;
        ripple?: boolean | ScatterRippleOptions;
        seriesColors?: ColorInput[];
        seriesNames?: string[];
        seriesSymbols?: (ScatterSymbol | undefined)[];
        showBackdropGrid?: boolean;
        symbol?: ScatterSymbol;
        title?: string;
        trendline?: ScatterTrendline | ScatterTrendline[];
        verticalGrid?: boolean;
        viewMode?: "2d" | "3d";
        width?: number;
    }
    Index

    Enter / update animation of this chart (default: the SDK setting, setAnimation)

    description?: string

    Accessible name of the canvas; replaces the auto summary (which moves to the description)

    height?: number

    Hover style; scatter always picks the nearest point (default hitRadius: 12)

    jitter?: { seed?: number; x?: number; y?: number }

    Spreads overlapping points (ggplot2 geom_jitter): uniform offsets in [-x, x] / [-y, y] data units (decades on log axes), fixed per point and seed. Tooltips, tables and exports keep the real values

    legend?: boolean | ChartLegendOptions

    Legend of series ids (default: shown with 2+ series)

    opacity?: number

    Fill alpha multiplier; lower values reveal density (default: 0.85)

    pointRadius?: number

    Point radius in CSS pixels when sizes is not given (default: 3)

    pointRing?: number

    Ring in the chart surface color around each point, CSS px (default: 1 with sizes, else 0)

    ripple?: boolean | ScatterRippleOptions

    Rippling rings around the points (ECharts effectScatter; true = every series with the defaults). Keeps a frame loop running while shown: meant for highlighting a few points

    seriesColors?: ColorInput[]

    Color of each series id (default: theme palette, wrapping around)

    seriesNames?: string[]

    Legend / tooltip name of each series id (default: Series <id>)

    seriesSymbols?: (ScatterSymbol | undefined)[]

    Symbol per series id (missing entries: symbol); the legend swatches follow

    showBackdropGrid?: boolean

    Horizontal gridlines + baseline (default: true)

    symbol?: ScatterSymbol

    Point symbol of every series (default 'circle')

    title?: string

    Regression trendlines (ECharts ecStat): least-squares fits of each chosen series, drawn across the visible x range beneath the points. The legend (shown by default with trendlines) lists each equation with its R²; fits are returned by renderScatterChart

    verticalGrid?: boolean

    Vertical gridlines at the x ticks (default: true)

    viewMode?: "2d" | "3d"

    Only '2d' is supported

    width?: number

    World size of the plot (aspect ratio of the framed plot; default: 168 x 94)