torque-pro-assistant - v1.0.0
    Preparing search index...

    One series declaration. The design's chart can mix line and area series, route some to the right y-axis (e.g. RPM next to Speed), and dash a series (e.g. AFR commanded behind AFR measured).

    interface LineChartSeries {
        axis?: "left" | "right";
        color: string;
        connectNulls?: boolean;
        dashed?: boolean;
        key: string;
        label: string;
        opacity?: number;
        type?: "area" | "line";
        unit?: string;
        width?: number;
    }
    Index

    Properties

    axis?: "left" | "right"

    Which y-axis this series binds to. Defaults to 'left'.

    color: string
    connectNulls?: boolean

    Connect across undefined values in the data array. Use for overlays where a row only carries one series' value at a time (Compare page). Defaults to false.

    dashed?: boolean

    Render dashed instead of solid.

    key: string

    LineChartDatum field name to plot.

    label: string

    Display label shown in the tooltip and legend.

    opacity?: number

    Stroke / fill opacity. Defaults to 1 (line) / 0.18 (area).

    type?: "area" | "line"

    Render as area fill instead of a thin line.

    unit?: string

    Display unit in the tooltip.

    width?: number

    Stroke width in pixels. Defaults to 1.5.