dataSource Object
DataSource configuration or instance.
Example
$("#chart").kendoChart({
dataSource: {
transport: {
read: "spain-electricity.json"
}
},
series: [{
field: "value"
}],
categoryAxis: {
field: "year"
}
});
// Alternative configuration
var dataSource = new kendo.data.DataSource({
transport: {
read: "spain-electricity.json"
}
});
$("#chart").kendoChart({
dataSource: dataSource,
series: [{
field: "value"
}],
categoryAxis: {
field: "year"
}
});