Skip to main content

Type Alias: PerspectiveColumnConfig

PerspectiveColumnConfig = object

Defined in: packages/sdvplot/src/perspective.ts:26

One column's entry in columns_config: the keys sdvplot sets.

Properties​

bg_color?​

optional bg_color?: string

Defined in: packages/sdvplot/src/perspective.ts:30

The Datagrid's series palette: linear-gradient(to right, #rrggbb, …).


bg_mode?​

optional bg_mode?: "series"

Defined in: packages/sdvplot/src/perspective.ts:28

The Datagrid's cell fill: "series", one palette colour per distinct value.


fg_color?​

optional fg_color?: string

Defined in: packages/sdvplot/src/perspective.ts:37

The Datagrid's number colours (a registry theme's): linear-gradient(to right, <neg> 0%, <pos> 100%).


font_family?​

optional font_family?: string

Defined in: packages/sdvplot/src/perspective.ts:39

The Datagrid's font for a number column: a registry theme's numeric face, when it is not the body face.


optional link?: true

Defined in: packages/sdvplot/src/perspective.ts:35

The Datagrid shows a URL column as links.


number_format?​

optional number_format?: PerspectiveNumberFormat

Defined in: packages/sdvplot/src/perspective.ts:33


palette?​

optional palette?: string

Defined in: packages/sdvplot/src/perspective.ts:32

A chart's series palette (on a value column) or a scatter's Color slot palette (on the team column).