Hi,
How to render chart area correctly in .NET by Aspose.Cells. When rendering a chart to images with Aspose.Cells, I noticed the chart area was rendered incorrectly.
Sample code:
var options = new ImageOrPrintOptions
{
ImageType = ImageType.Emf,
ChartImageType = ImageFormat.Emf,
OnlyArea = false,
TextRenderingHint = TextRenderingHint.ClearTypeGridFit,
OnePagePerSheet = true,
Transparent = true
};
var workbook = new Workbook(@".\test.xlsx");
workbook.Worksheets[0].Charts[0].ToImage(@".\out.emf", options);
I’ve attached the test files and a screenshot for you reference. Could you please help to take a look?
test.zip (28.0 KB)
image.png (59.6 KB)
Thanks,