MAIDR JavaScript API
    Preparing search index...

    A series' data list.

    Addressed by index rather than iterated, which is what lets a reading walk it in the order the chart drew it.

    interface EChartsList {
        dimensions: string[];
        count: () => number;
        getName: (index: number) => string;
        get: (dimension: string, index: number) => number | null | undefined;
        tree?: EChartsTree;
        graph?: EChartsGraph;
    }
    Index

    Properties

    dimensions: string[]

    The column names, in order.

    count: () => number

    How many data points the series holds.

    getName: (index: number) => string

    The category name at index.

    Measured: the category axis' label on a category axis, and the empty string on a value axis -- so an empty name means "this axis carries numbers", not "this point is unnamed".

    get: (dimension: string, index: number) => number | null | undefined

    The value of one dimension at index.

    On a category axis this is the category's index, not its name; the name comes from getName.

    The hierarchy, on a treemap, sunburst or tree series.

    graph?: EChartsGraph

    The graph, on a sankey or graph series.