Hey there,
I am using Data query APIs to groupBy my data by priorities:
this.piechartData = groupBy(chartData, [{field:"priority"}]);
Then I want to count the items per priority value to build the piechart. However, the aggregate="count" is not working for me.
Is there
<kendo-chart><kendo-chart-series>
<kendo-chart-series-item
type="donut"
*ngFor="let item of piechartData"
[data]="item.items"
[name]="item.value"
categoryField="priority"
aggregate="count"
field="taskName">
</kendo-chart-series-item>
</kendo-chart-series>
<kendo-chart-legend [visible]="false"></kendo-chart-legend>
</kendo-chart>
a way around to do this?
I used this approach for barcharts and linecharts before and it worked.
Regards,
Nazareth