Skip to content

Interface: D3PColumnSpec ​

Defined in: core/series.ts:30

Which columns a series has (columns), which one is its value (primary) and, for object rows and column data, where each comes from (fields).

Extended by ​

Properties ​

columns? ​

ts
columns?: readonly string[];

Defined in: core/series.ts:35

Names of the columns of the input; the first one is x. Default ['x', 'y']. A series with more columns (['x', 'open', 'high', 'low', 'close']) feeds renderers that need them.


fields? ​

ts
fields?: Readonly<Record<string, D3PFieldAccessor>>;

Defined in: core/series.ts:39

For object rows and column-oriented data: where each column comes from (default: its own name).


primary? ​

ts
primary?: string;

Defined in: core/series.ts:37

The column read as "the value" where a single one is expected (default: the second column).