Wrong Axis Arrow direction when converting chart to image

Hi, we have a workbook with a chart and we are trying to convert it into an image using this code:

var workBook = new Workbook("Test.xlsx");
var worksheet = workBook.Worksheets[0];
var chart = worksheet.Charts[0];

using (MemoryStream ms = new MemoryStream())
{
  ImageOrPrintOptions options = new ImageOrPrintOptions
  {
    ImageType = Aspose.Cells.Drawing.ImageType.Png,
    VerticalResolution = 300,
    HorizontalResolution = 300,
    Quality = 100
  };
  chart.ToImage(ms, options);
  File.WriteAllBytes("image.png", ms.ToArray());
}

However, in the generated image the vertical axis arrow is reversed, looking down instead of up as in the original workbook.

Can you please provide us a solution?

Attachments.zip (18.8 KB)

@davidepedrocca,

Thanks for the template file, sample code and output image.

Please notice, we were able to reproduce the issue as you mentioned by using your sample code with your template file. We found wrong axis arrow direction in the output image of the chart. We have logged a ticket with an id “CELLSNET-47367” for your issue.

We will look into it soon.

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

@davidepedrocca,

We are pleased to inform you that we have fixed your issue (logged earlier as “CELLSNET-47367”). We will soon provide you download link to the fixed version after performing QA and incorporating other enhancements and fixes.

The issues you have found earlier (filed as CELLSNET-47367) have been fixed in Aspose.Cells for .NET v20.6. you may also get the version @ NuGet repos. here (NuGet Gallery | Aspose.Cells 20.6.0).This message was posted using Bugs notification tool by Amjad_Sahi

The issues you have found earlier (filed as CELLSNET-47367) have been fixed in Aspose.Cells for .NET v20.6. you may also get the version @ NuGet repos. here (NuGet Gallery | Aspose.Cells 20.6.0).This message was posted using Bugs notification tool by Amjad_Sahi