Briyah SDK - v2.0.18
    Preparing search index...

    Interface ChartSpec

    interface ChartSpec {
        categories: string[];
        format?: ChartValueFormat;
        series: ChartSeries[];
        startAtZero?: boolean;
        title?: string;
        type: ChartType;
        xLabel?: string;
        yLabel?: string;
    }
    Index
    categories: string[]

    The labels along the category axis — periods, names — in order. A pie's slices.

    How values are written. Absent means number; percent takes 12.5 to mean 12.5%.

    series: ChartSeries[]
    startAtZero?: boolean

    Whether a line chart's value axis starts at zero. Absent means it fits the data, which shows the movement in a series that never nears zero. Columns and bars always start at zero: a bar's length is its value.

    title?: string

    The chart's heading.

    type: ChartType
    xLabel?: string

    What the category axis measures, e.g. "Quarter".

    yLabel?: string

    What the value axis measures, e.g. "Miles".