Hi,
When converting an xlsx graph to emf picture, the vertical and horizontal axis at the bottom left corner overlap. My guess is that Aspose doesn’t consider the given Superscript offset (30%) on the Font of the Vertical (Value) Axis when converting the xlsx graph to emf.
(Right click on the Vertical (Value) Axis -> Font -> Superscript)
Another difference which I noticed was that the Line on the Horizontal (Category) Axis is larger than the one in the xlsx file.
Could you please have a look? I have attached a screenshot and the test files with supporting code below.
Code:
var workbook = new Workbook("test.xlsx");
var options = new ImageOrPrintOptions
{
ImageType = ImageType.Emf,
OnlyArea = false,
TextRenderingHint = TextRenderingHint.ClearTypeGridFit,
OnePagePerSheet = true,
Transparent = true,
};
Worksheet sheet = workbook.Worksheets[0];
sheet.Charts[0].ToImage("out.emf", options);
Files
test.zip (22.8 KB)
Screenshot.PNG (23.0 KB)
Thanks,
N