state.initialSeries.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: {
initialSeries: {
data: [
{ category: "Q1", value: 100 },
{ category: "Q2", value: 150 },
{ category: "Q3", value: 200 },
{ category: "Q4", value: 180 }
]
}
}
});
</script>
In this article