Type Alias ChartTemplate

If the template type is not "chart", this can be null. Otherwise, the following properties are required: appId, sheetId, objectId, widthPx, heightPx, language. The following properties are optional: outZoom, outDpi

type ChartTemplate = {
    appId?: string;
    heightPx?: number;
    jsOpts?: unknown;
    objectDef?: unknown;
    objectId?: string;
    outDpi?: number;
    outZoom?: number;
    patches?: unknown[];
    sheetId?: string;
    widthPx?: number;
}
Index

Properties

appId?: string

ID of app

heightPx?: number

heightPx of chart

jsOpts?: unknown

Visualization state from client as a string json value. Can include language, theme, viewState etc.

objectDef?: unknown

Session chart object definition

objectId?: string

ID of object

outDpi?: number

outDpi of chart

outZoom?: number

outZoom of chart

patches?: unknown[]

Soft property changes on chart

sheetId?: string

sheetId of app

widthPx?: number

widthPx of chart