API REFERENCE
source
the tabular dataset the series read through encode (a Dataset, a source, or rows); it wins over values / series. Named source because dataset is the element's own data-* map.
Definition
| Item | Value |
|---|---|
| JavaScript property | source |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | Dataset | DatasetSourceInput | ReadonlyArray<DatasetRow> | null |
| Default | undefined |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- Dataset
Type definition
- DatasetSourceInput
Type definition
- DatasetRow
Type definition