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

Free Support Forum - aspose.com

X axis is wrong in rendered images using Aspose.Cells


When I converted some charts to images using Aspose, I noticed the X axis is wrong (one changed the max value from 120 to 3000, while another changed from 120 to 110 and with wrong number of tickmarks).

var workbook = new Workbook(@".\test1.xlsx");
var chart = workbook.Worksheets[0].Charts[0];

        var workbook2 = new Workbook(@".\test2.xlsx");
        var chart2 = workbook2.Worksheets[0].Charts[0];

I’ve attached a screenshot and all test files for your reference. Could you please help me take a look?

image.png (97.6 KB)
test files.zip (162.3 KB)



Thanks for the template files, sample code, output images and screenshot.

Please notice, we were able to reproduce the issue as you mentioned by using your sample code with your template file(s). We found x-axis is wrong in the rendered images (as per your screenshot) of the charts. We have logged a ticket with an id “CELLSNET-47368” for your issue.

We will look into it soon.

Once we have an update on it, we will let you know.