We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Grouped charts

Hello everyone

 

I have a problme with the chart control. Here is the descripton:

I have the following data soruce:

 

Consultant

YearQuarter

Order

John

2019 Q1

425.00000

Michael

2019 Q1

930.00000

Steve

2019 Q2

22100.00000

Steve

2019 Q1

28800.00000

Sales

2019 Q1

28095.00000

John

2019 Q2

6000.00000

Steve

2019 Q1

14960.00000

Michael

2019 Q1

14960.00000


The YearQuarter column contains data for the CategoryAxes. The Order column contains data for the series.

Result:


 

As your can see here we still have a column Consultant. These are groups for order data. 

The chart control even recognizes that there are several groups, but can not display them correctly.


 

This should look like this:


 

How can I pass the grouping to the chart control?

Thank you.


1 Reply

BP Baby Palanidurai Syncfusion Team April 9, 2019 04:41 AM UTC

Hi Alexander, 
 
Greetings from Syncfusion. 
 
We  have analyzed your query with attached screenshots. We can achieve your requirement by using StackingColumn chart instead of column chart. We have prepared a sample based on your requirement. In that, We have created each series for each point and chart is working as your expectation. Please find below sample and screenshots, 
 
Screenshots: 
 
 
 
Kindly check the above sample and revert us if this not your exact requirement. Also here we have attached UG and online demos about stacking series for your reference. 
 
 
 
Hope this helps. 
 
Regards, 
Baby. 


Loader.
Live Chat Icon For mobile
Up arrow icon