interface ChartGridEvents {
    active: { id: string };
    layout: { reason: string };
    links: Required<LinkOptions>;
    theme: { theme: WidgetThemeName };
    [key: string]: unknown;
}

Indexable

  • [key: string]: unknown

Properties

active: { id: string }
layout: { reason: string }

preset, weights, workspace, compact, maximize or swap.

links: Required<LinkOptions>

The active chart's link channels, after any link, group or active chart change.

theme: { theme: WidgetThemeName }

Every chart changed theme, through setTheme or one chart's own control.