I'm making a chart with a pivot by JS:Http://www.igniteui.com/pivot-grid/chart-integration
Currently, the chart is working well when the pivot has 1 row and one column. But when the pivot has 2 row and one column, it is not working.I want to display it with more categories on the xAxis, yAxis as this example:Http://www.infragistics.com/samples/windows-forms/chart/2d-column-chart
However, I found that the support was only in ASP / .NET. Have you supported it on JS?
Hello Duong Ngo,
Could you tell me more exactly what your problem is?How is the chart not working?
I looked at http://www.igniteui.com/pivot-grid/chart-integration. As far as I see, the chart is updated expectedly when the "+ All Periods" is expanded so that the pivot grid has more than one row. Looking at updateChart function in the sample code in "Code View", you can also see how to update the chart.
Noriko I.Developer Support EngineerInfragistics, Inc.
Dear Niriko I,
Sorry, because you are misunderstanding me.As a guide, I have made the chart can expand. But on the x axis, two types of items are displaying one line[You can see here]
But currently i'm wanting on the x / y axis of the chart can show multiple lines like excel when choosing multiple rows or colums
Thanks in advance!
Thank you for your clarification.
I investigated your problem that you want to draw X axis labels in such a way as they represents grouping hierarchy.
There is not a simple built-in option which can reflects group hierarchy into X axis labels just by setting it, but in case of igDataChart, you may want to use igDataChart's refershCompleted event to get its canvas, put your business logic there and draw group labels.
I hope this answer will help you.