How can I set a date as a category for pie charts that adjusts automatically?

1 Answer 46 Views
Charts DateInput
Syed Zain
Top achievements
Rank 1
Syed Zain asked on 03 Aug 2023, 08:57 AM
This is the current code and it is not working the way it does for bar charts, it is populating every date onto the graph and not aggregating itself according to months
series: [
                        type: "pie",
                        field: "value",
                        categoryField: "category",
                        aggregate: "sum",
                        padding: 10,
                        overlay: {
                            gradient: "none",
                        categoryAxis: {
                            baseUnit: "months",
                            maxDivisions: 5,
                            rangeLabels: {
                              visible: true,
                              format: "M"
                            labels: {
                              format: "d-M"
This is what I need it to look like: 

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 08 Aug 2023, 08:15 AM


I would suggest taking a look at the Knowledge Base article linked below where aggregation in the Pie Chart is demonstrated:

I hope this helps. 

Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Charts DateInput
Asked by
Syed Zain
Top achievements
Rank 1
Answers by
Telerik team
Share this question