Hi,
When rendering an Excel chart to an image, I noticed some axis labels became two lines and overlapped the legend.
Code:
var fileName = “axis line”;
var workbook = new Workbook(fileName + “.xlsx”);
var options = new ImageOrPrintOptions
{
ImageType = ImageType.Emf,
OnlyArea = false,
TextRenderingHint = TextRenderingHint.ClearTypeGridFit,
OnePagePerSheet = true,
Transparent = true
};
workbook.Worksheets["sheet1"].Charts[0].ToImage(fileName + ".emf", options);
I’ve attached the test files and a screenshot for your reference. Could you please help me check this?
axis line.png (44.2 KB)
axis line.zip (14.8 KB)
Thanks,