Interface ChartDataResponseResult

interface ChartDataResponseResult {
    all_columns?: string[];
    annotation_data: null | Record<string, any>;
    cache_key: null | string;
    cache_timeout: null | number;
    cached_dttm: null | string;
    colnames: string[];
    coltypes: GenericDataType[];
    data: Record<any, any>[];
    error: null | string;
    from_dttm: null | number;
    is_cached: boolean;
    query: string;
    rowcount: number;
    stacktrace: null | string;
    status:
        | "success"
        | "stopped"
        | "failed"
        | "pending"
        | "running"
        | "scheduled"
        | "timed_out";
    to_dttm: null | number;
}

Hierarchy (view full)

Properties

all_columns?: string[]
annotation_data: null | Record<string, any>
cache_key: null | string
cache_timeout: null | number
cached_dttm: null | string
colnames: string[]

Name of each column, for retaining the order of the output columns.

coltypes: GenericDataType[]

Generic data types, based on the final output pandas dataframe.

data: Record<any, any>[]

Array of data records as dictionary

error: null | string
from_dttm: null | number
is_cached: boolean
query: string
rowcount: number
stacktrace: null | string
status:
    | "success"
    | "stopped"
    | "failed"
    | "pending"
    | "running"
    | "scheduled"
    | "timed_out"
to_dttm: null | number