Data Series Line Style cap Type property is reset to default

Hi,

Data Series Line Style cap Type property is reset to default when a chart is converted to image.

The original chart has the blue line chart with round corners, but the generated image has the same chart with square corners.

The code to replicate the problem is:
var workbook = new Workbook(@“C:\Chart.xlsx”);

foreach (Worksheet worksheet in workbook.Worksheets)
worksheet.Pictures.Clear();

var opts = new ImageOrPrintOptions
{
Quality = 100,
HorizontalResolution = 200,
VerticalResolution = 200,
ImageFormat = ImageFormat.Png
};

var chart = workbook.Worksheets[0].Charts[0];

using (var chartImage = chart.ToImage(opts))
{
chartImage.Save(@“C:\ChartImage.png”);
}

Thank you,
Lucian

Hi,

Thanks for your posting and using Aspose.Cells for .NET.

We were able to replicate this issue using the latest version. We have logged this issue in our database.

We will look into this issue and fix it. Once, the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as CELLSNET-41489.

Hi,

Please download and try this fix: Aspose.Cells for .NET v7.4.2.3

The cap of line issues are fixed now.

Thank you.

The issues you have found earlier (filed as CELLSNET-41489) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.