interface TableViewProperties {
    colors: DashboardColor[];
    decimalPlaces: DecimalPlaces;
    fieldOptions: RenamableField[];
    note: string;
    queries: DashboardQuery[];
    shape: "chronograf-v2";
    showNoteWhenEmpty: boolean;
    tableOptions: {
        fixFirstColumn?: boolean;
        sortBy?: RenamableField;
        verticalTimeAxis?: boolean;
        wrapping?: "truncate" | "wrap" | "single-line";
    };
    timeFormat: string;
    type: "table";
}

Properties

colors: DashboardColor[]

Colors define color encoding of data into a visualization

decimalPlaces: DecimalPlaces
fieldOptions: RenamableField[]

fieldOptions represent the fields retrieved by the query with customization options

note: string
queries: DashboardQuery[]
shape: "chronograf-v2"
showNoteWhenEmpty: boolean

If true, will display note when empty

tableOptions: {
    fixFirstColumn?: boolean;
    sortBy?: RenamableField;
    verticalTimeAxis?: boolean;
    wrapping?: "truncate" | "wrap" | "single-line";
}

Type declaration

  • OptionalfixFirstColumn?: boolean

    fixFirstColumn indicates whether the first column of the table should be locked

  • OptionalsortBy?: RenamableField
  • OptionalverticalTimeAxis?: boolean

    verticalTimeAxis describes the orientation of the table by indicating whether the time axis will be displayed vertically

  • Optionalwrapping?: "truncate" | "wrap" | "single-line"

    Wrapping describes the text wrapping style to be used in table views

timeFormat: string

timeFormat describes the display format for time values according to moment.js date formatting

type: "table"
MMNEPVFCICPMFPCPTTAAATR