FieldEncoding
FieldEncoding =
object
Defined in: spec/encoding.ts:29
Binds one field to one channel.
A field reference, not a value: the frame owns the data, and the encoding owns only the claim that this field drives this visual property.
Properties
Section titled “Properties”
optionalaxis?:AxisSpec
Defined in: spec/encoding.ts:32
field:
string
Defined in: spec/encoding.ts:30
legend?
Section titled “legend?”
optionallegend?:LegendSpec
Defined in: spec/encoding.ts:33
scale?
Section titled “scale?”
optionalscale?:ScaleSpec
Defined in: spec/encoding.ts:31
optionalsort?:"ascending"|"descending"|null| {field:string;order?:"ascending"|"descending"; }
Defined in: spec/encoding.ts:37
Reorders a categorical domain by another field’s aggregate.
title?
Section titled “title?”
optionaltitle?:string
Defined in: spec/encoding.ts:35
Overrides the field’s own title for this chart.