Series Json

The series is the means by which the data and the visual elements of a chart are linked together.

Series format

Series is an array of series objects. This is in preparation for multiseries/multi dataset charts (NOTE: currently multiseries/multidataset is not supported).

[
  {
    "category": {
      "field": "<field name>",
      "label": "<label for chart>"
    },
    "value": {
      "field": "<field name>",
      "label": "<label for chart>"
    }
  }
]

Edit this page on GitHub