state.series.data Array

The array of data items which represent the series data.

Can be set to :

  • Array of objects. Each point is bound to the field specified via the series.field option.
  • Array of numbers. Supported when the series.type option is set to "bar", "column", "pie", or "line".
  • Array of arrays of numbers. Supported when the series.type option is set to "scatter".
  • Scatter and scatter line series need arrays of two values - X value and Y value
In this article