I need the stacked chart to be display like the attached image. I am not able to get the two columns for sigle year with different lables on X axis.
Hello Abhinav,
Thank you for posting in our forum.
Generally the chart generates two sets of labels for the x axis. One set for the items displayed and one for the series that groups them. For example in a standard column chart:
http://ko.infragistics.com/products/aspnet/sample/chart/column-charts
We have the labels for the items that are displayed under each column (ActiveX,Java, NET) and a label for each group of items(Week 1,Week 2 and so on).
In the case of the stacked column chart we don’t have separate item labels on the x axis since all items are stacked on each other. The series labels are displayed under each stack which are grouped in the corresponding row.
To achieve something similar to the screenshot you could add some annotations to the page which could server as additional labels. There’s more on how you can create data annotations here:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=Chart_Create_Annotations.html
Please refer to the attached sample and let me know if this would work in your scenario.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://ko.infragistics.com/support