MAIDR JavaScript API
    Preparing search index...

    Google Charts DataTable — the tabular data model backing every chart.

    interface GoogleDataTable {
        getNumberOfRows: () => number;
        getNumberOfColumns: () => number;
        getValue: (rowIndex: number, columnIndex: number) => unknown;
        getFormattedValue: (rowIndex: number, columnIndex: number) => string;
        getColumnLabel: (columnIndex: number) => string;
        getColumnType: (
            columnIndex: number,
        ) => "string" | "number" | "boolean" | "date" | "datetime" | "timeofday";
        getColumnRole?: (columnIndex: number) => string;
        getColumnId?: (columnIndex: number) => string;
        getColumnProperty?: (columnIndex: number, name: string) => unknown;
    }
    Index

    Properties

    getNumberOfRows: () => number
    getNumberOfColumns: () => number
    getValue: (rowIndex: number, columnIndex: number) => unknown
    getFormattedValue: (rowIndex: number, columnIndex: number) => string
    getColumnLabel: (columnIndex: number) => string
    getColumnType: (
        columnIndex: number,
    ) => "string" | "number" | "boolean" | "date" | "datetime" | "timeofday"
    getColumnRole?: (columnIndex: number) => string
    getColumnId?: (columnIndex: number) => string

    The column's id, when the table was given one.

    getColumnProperty?: (columnIndex: number, name: string) => unknown

    One of the column's custom properties -- the p map a column is given, Google's own slot for "custom values applied to the column", and where a co-located maidr declaration rides: p: { maidr: { ... } }.