I have a chart with ‘automatic category axis rotation angle’ created by Ms Excel (mentioned in another post in https://forum.aspose.com/t/how-to-make-the-rotation-angle-of-category-axis-automatic/181272/4 ). I also tried to convert the chart to an image, and found that the whole horizontal axis in the output image was missing.
var workbook = new Workbook(@“MsChart.xlsx”);
var options = new ImageOrPrintOptions
ImageType = ImageType.Emf,
ChartImageType = ImageFormat.Emf,
OnlyArea = false,
TextRenderingHint = TextRenderingHint.ClearTypeGridFit,
OnePagePerSheet = true
image.png (31.9 KB)
I’ve attached the test file and the output image for your reference. Could you please kindly take a look?
test.zip (14.6 KB)