Hi,
I have a PivotGrid (MVC) and im using it's datasource to generate the Chart. This has gone well, apart from the Series. I've worked out how to get one working using the example here: https://docs.telerik.com/kendo-ui/controls/data-management/pivotgrid/how-to/integration/chart-integration
For my PivotGrid i have two values for my 'Rows', but the Chart only displays one, see attached image, here's my Chart:
$(container).kendoChart({
title: {
text: title
},
dataSource: {
data: data,
group:
"row"
},
series: [{
type:
"column"
,
field:
"measure"
,
name:
"#= group.value # (category)"
,
categoryField:
"column"
}],
legend: {
position:
"bottom"
},
valueAxis: {
labels: {
format:
"{0:N}"
}
},
dataBound:
function
(e) {
var
categoryAxis = e.sender.options.categoryAxis;
if
(categoryAxis && categoryAxis.categories) {
categoryAxis.categories.sort();
}
}
});
I'm sure it's most likely to-do with the Series, but using the integration provide i'm not sure how to add it.
Thanks,
Lee.