We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Bad chart format

I use aspose for insert chart in excel document, but i have broplem with bad chart format. Could you help me?

ScreeenShot atached.
my code:
int chartIndex = worksheet.Charts.Add(ChartType.Column, cell.Row, cell.Column, cell.Row + 22, cell.Column + 9);
Chart chart = worksheet.Charts[chartIndex];

chart.NSeries.Add(String.Format("{0}!A1:{1}", newWorksheet.Name, CellsHelper.CellIndexToName(data.Rows.Count - 1, data.Columns.Count - 1)), true);

I know how to fix this problem. If this checkbox checked all is good.

How can i check it programmaticaly?


Please download and try our latest fix/version: Aspose.Cells for .NET v7.5.0.4.

If you still find the issue, kindly create a sample console application (runnable), zip it and post it here with all the files. We will check it soon.

Thank you.