API REFERENCE
encode
which dimensions feed the series (one encode per series); an ordinal x labels the category axis.
Definition
| Item | Value |
|---|---|
| JavaScript property | encode |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | DatasetEncode | ReadonlyArray<DatasetEncode> |
| Default | undefined |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- DatasetEncode
Type definition