This is a migrated thread and some comments may be shown as answers.

How to add multiple Categories in RadChartView Bar series.

1 Answer 185 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Panch Raj
Top achievements
Rank 1
Panch Raj asked on 30 Nov 2020, 11:19 AM

Hi,

Actually, I have data as attached Data.png file. I have to create a bar chart for Pendency type grouped in Project wise, Level wise just like attached BarChartMultipleGroups.png file.

Please help me to achieve this.

Thank You.

 

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 30 Nov 2020, 12:46 PM
Hello, Panch Raj,    

The provided screenshot illustrates a chart's design that can't be achieved in exactly the same way in RadChartView.
We already have a feature request for 3D chars. You can track its progress, subscribe for status changes and add your comments on the following link: https://feedback.telerik.com/winforms/1366791-add-radchartview-3d-charts   

As to the grouping in the horizontal axis, it is not supported in RadChartView. However, one possible solution is to use the drill down functionality that RadChartView offers. It allows users to click on a graphical element (bar, pie segment etc.), representing some data, in order to navigate to another view which contains different data than the first one. The new view usually contains finer grained data like displaying information from yearly to quarterly data, from quarterly to monthly, etc., or in the case of a retail store from categories to brands, from brands to items, etc. The drill-down functionality basically makes your data points act like a hotspots for “drilling-down” or “zooming” into your data. For example, you can add a BarSeries with "Project A", "Project B" and "Project C" categories. When the user clicks "Project B" bar element, the view will be navigated to the relevant data for project B - displaying "L-0" and "L-1". In a similar way you can navigate to the bottom level. A sample approach how to setup the drill down functionality is available in the following help article: https://docs.telerik.com/devtools/winforms/controls/chartview/features/drill-down 
You can also refer to our Demo application >> ChartView >> Drill-down example. 

An alternative approach is to add 3 different BarSeries for "Project A", "Project B" and "Project C". In each series, you need to add a data point which category is unique as name combining the names you have, e.g. "A L-0 Awaited", "B L-1 On Hold". Thus, each bar element will be rendered separately since the category names wouldn't be duplicated.

Feel free to use this approach which suits your requirements best.   

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ChartView
Asked by
Panch Raj
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or