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

Free Support Forum - aspose.com

chart.ToImage adds aditional labels for 3D chart with automatic interval between labels


Using chart.ToImage() on a 3D chart with the interval between labels automatically set to 2, results in a chart with all labels displayed.

Here is the following code used to reproduce this issue, along with the attached file:
var workbook = new Workbook(“testFile.xlsx”);
var worksheet = workbook.Worksheets[0];
const string chartName = “Chart 2”;

var chart =
worksheet.Charts.FirstOrDefault(x => chartName.Equals(x.Name, StringComparison.OrdinalIgnoreCase));
if (chart == null)


InternalId: 33284

Best regards,
Jean-Alexandru Stanescu
Junior Developer
IBM Romania

Hi Jean,

Thank you for the sample spreadsheet.

We have evaluated the scenario on our side while using the latest version of Aspose.Cells for .NET, and we are able to notice the said issue on our side. We have logged this incident as CELLSNET-44035 in our bug tracking system. Our product team will further look into the details of this problem and we will keep you updated on the status of correction. We apologize for your inconvenience.


Thanks for using Aspose.Cells.

We are afraid we cannot do well as excel. If neighboring axis labels is not overlapping, aspose will set miminum spacing value to the axis.