Free Support Forum - aspose.com

Chart.ToImage issue

Hi. Having a problem converting charts into images using Chart.ToImage.


Workbook workbook = new Workbook(“input3.xlsx”);
int chartNo = 0;
foreach (Worksheet sheet in workbook.Worksheets)
{
foreach (Aspose.Cells.Charts.Chart chart in sheet.Charts)
{
chart.ToImage(chartNo.ToString() + “.bmp”);
chartNo++;
}
}

The images output from this with the attached input file either have the axes removed or the rightmost number cut off.

Hi Piers,


Thank you for contacting Aspose support.

I have evaluated the presented scenario while using the latest version of Aspose.Cells for .NET 17.02.3, and I am able to notice the said problems. In order to further investigate the cases, I have raised the following tickets in our database.

  • CELLSNET-45177: Axis labels are missing while rendering chart to image
  • CELLSNET-45178: Axis labels are trimmed while rendering chart to image

Please spare us little time to properly analyze these case and revert back with updates.

The issues you have found earlier (filed as CELLSNET-45178;CELLSNET-45177) have been fixed in Aspose.Cells for .NET 17.3.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.