Chart - CategoryAxis label: text, not index

Jan 10, 2013 at 10:04 AM
Edited Jan 15, 2013 at 12:11 PM


In the example "SampleDocumentWithTableAndChartsGenerator", that inside uses "Line3DChartEx", the categories "Cat1, Cat2..." are not shown as label in the x-axis, althought the excel sheet linked to the chart has the first column values "Cat1, Cat2...". But "category index" is shown.

Some helps to fix this problem?

Thank you


UPDATE: found the error! 

In the Line3DChartEx:

CategoryAxisData catAxisData = new CategoryAxisData();


CategoryAxisData catAxisData = lineChartSeries.AppendChild<CategoryAxisData>(new CategoryAxisData())

And now it works!