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);