state.series.dataArray
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
Example
<div id="chart-wizard"></div>
<script>
$("#chart-wizard").kendoChartWizard({
state: {
series: [{
data: [
{ quarter: "Q1", sales: 100 },
{ quarter: "Q2", sales: 150 },
{ quarter: "Q3", sales: 200 }
]
}]
}
});
</script>