API REFERENCE

encode

which dimensions feed the series (one encode per series); an ordinal x labels the category axis.

Definition

ItemValue
JavaScript propertyencode
HTML attributePass objects, arrays, and callbacks as JavaScript properties
TypeDatasetEncode | ReadonlyArray<DatasetEncode>
Defaultundefined

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.