Type Alias Visualization

type Visualization = {
    heightPx: number;
    id: string;
    jsOpts?: unknown;
    patches?: NxPatch[];
    type?: "visualization" | "sessionobject";
    widthPx: number;
}
Index

Properties

heightPx: number

Height in pixels.

id: string

The sense visualization id or json definition.

jsOpts?: unknown

A JSON object that is passed as-is to the mashup page while rendering.

patches?: NxPatch[]

Soft properties, aka patches, to be applied to the visualization.

type?: "visualization" | "sessionobject"

Choose visualization to export an image of a sense chart, sessionobject for a visualization to be created on-the-fly. An empty value leads to the type being inferred by its id.

widthPx: number

Width in pixels.