Skip to content

Interface: PlotGridOptions ​

Defined in: grid.ts:30

Properties ​

background? ​

ts
optional background?: string;

Defined in: grid.ts:41

Fill behind the whole grid. Default transparent.


colRatios? ​

ts
optional colRatios?: number[];

Defined in: grid.ts:44


cols? ​

ts
optional cols?: number;

Defined in: grid.ts:33


gap? ​

ts
optional gap?: number;

Defined in: grid.ts:35

Gap between cells in CSS px. Default 12.


linkX? ​

ts
optional linkX?: boolean;

Defined in: grid.ts:46

Share the x view (pan / zoom) and hover crosshair across every 2D cell.


linkY? ​

ts
optional linkY?: boolean;

Defined in: grid.ts:48

Share the primary y view across every 2D cell.


rowRatios? ​

ts
optional rowRatios?: number[];

Defined in: grid.ts:43

Relative row heights / column widths — matplotlib's height_ratios / width_ratios.


rows? ​

ts
optional rows?: number;

Defined in: grid.ts:32

Grid shape. Both default to 1.


theme? ​

ts
optional theme?: "light" | "dark";

Defined in: grid.ts:39

Theme each 2D/polar cell inherits unless its own options set one.


title? ​

ts
optional title?: string | GridTitleOptions;

Defined in: grid.ts:37

Title strip above the grid.

MIT licensed. WebGL2 required.