torque-pro-assistant - v1.0.0
    Preparing search index...
    interface SparklineProps {
        color?: string;
        data: readonly Readonly<Record<string, number | undefined>>[];
        dataKey: string;
        filled?: boolean;
        height?: number;
        testId?: string;
        width?: number;
    }
    Index

    Properties

    color?: string

    Line / fill color. Defaults to the brand amber via CSS variable.

    data: readonly Readonly<Record<string, number | undefined>>[]
    dataKey: string

    Field name to plot on the y-axis.

    filled?: boolean

    Render as a filled area chart instead of a thin line.

    height?: number

    Fixed height in pixels. Defaults to the design's 28px row sparkline.

    testId?: string
    width?: number

    Fixed width in pixels. Defaults to the design's 110px row sparkline.