Skip to content

charton API


charton API / @chart-on/ui / index / ChartGridEvents

Interface: ChartGridEvents ​

Defined in: ui/src/grid.ts:72

Events emitted by a chart grid, by name: the active cell, the layout preset or the cell sizes changed.

Properties ​

active:change ​

active:change: object

Defined in: ui/src/grid.ts:74

Another cell became active: by a click or focus in it, or setActive.

index ​

index: number

shell ​

shell: ChartShell


layout:change ​

layout:change: object

Defined in: ui/src/grid.ts:76

setLayout or loadLayout changed the preset.

layout ​

layout: ChartGridLayout


sizes:change ​

sizes:change: ChartGridSizes

Defined in: ui/src/grid.ts:78

A resizer moved, or setSizes changed the sizes.