Skip to content

EncodingField

Defined in: packages/pixi-charts/src/spec/ChartSpec.ts:35

A reference to a column in data plus its interpretation.

{ field: 'revenue', type: 'quantitative' }

field: string

Defined in: packages/pixi-charts/src/spec/ChartSpec.ts:37

Name of the column in each data row to read from.


type: FieldType

Defined in: packages/pixi-charts/src/spec/ChartSpec.ts:39

How to interpret the column. See FieldType.