Convert Excel Chart to Image - Some Parts of dotted lines became solid lines

Hi,

I did convert Excel chart to image and noticed some parts of dotted lines became solid lines.
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(@".\out2110.emf", options);

I’ve attached my test files and a screenshot for your reference. Could you please help to take a look?

test.zip (84.0 KB)
image.png (93.7 KB)

Thanks,

@ServerSide527,

Please notice, I am able to reproduce the issue as you mentioned by using your template file. I found when rendering an Excel chart to image, many parts of the dotted dataline became solid. I have logged a ticket with an id “CELLSNET-49673” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.

@ServerSide527,
We have identified the problem and will solve it in 3~5 days

@Eric.wang

Thanks for the update!. That’s great, please keep us posted.

@ServerSide527,

Your issue is resolved now and hopefully you will get the fix in next couple of days or so.

@ServerSide527,
The issue is fixed in v21.10.4.
Aspose.Cells21.10.4 For .Net2_AuthenticodeSigned.Zip (5.6 MB)
Aspose.Cells21.10.4 For .Net4.0.Zip (5.6 MB)
Aspose.Cells21.10.4 For .NetStandard20.Zip (5.6 MB)

The issues you have found earlier (filed as CELLSNET-49673) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao