Consider the following file: MapChart.xlsx.zip (49.1 KB)
This workbook contains one chart of type “Filled Map”, inserted via Charts > Map > Filled Map in Excel.
We have the following code:
var workbook = new Workbook("MapChart.xlsx");
var chart = workbook.Worksheets[0].Charts[0];
chart.ToImage("MapChart-Aspose.png");
The following image is generated: MapChart-Aspose.png (6.4 KB)
However, the actual chart image in Excel is: MapChart-Excel.png (36.4 KB)
It seems that Aspose.Cells has no support for rendering images of this chart type. Can this be added, or is there a workaround? We’re using Aspose.Cells v23.8 (.NET Core).
@perfectxl,
Thanks for the template XLSX file containing the chart.
I tested your scenario/case by converting the chart in your template XLSX file to PNG but it does not render the chart properly rather it renders a common column/bar chart image. Please note, Map chart rendering is not supported yet, see the last line of the table in the document.
We need to evaluate the map chart rendering in details. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): CELLSNET-54149
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.