Free Support Forum - aspose.com

Unable to change line style of a ChartPoint

In the attached file is a chart with dashed series line style. I want to change the style of a single point to be solid.

Here is the code:

Workbook wb = new Workbook("c:/web/test.xls");
Chart c = wb.Worksheets[0].Charts[0];
Series s = c.NSeries[0];
ChartPoint p = s.Points[1];
p.Border.Color = Color.Red;
p.Border.Style = Aspose.Cells.Drawing.LineType.Solid;
wb.Save("c:/web/test_1.xls");

This code should be used with the attached file.

The color is changing correctly, but the line style is not. Is this a bug, or am I doing this incorrectly?

Using version Aspose.Cells 6.0.0.0.

Thanks.
Shaun

Hi,


It looks like an issue. I have tested your case and found the issue as you have mentioned. I have logged a ticket for the issue with an id: CELLSNET-30785. We will look into the issue soon.

Thank you.

Hi,

Please try the latest version: Aspose.Cells for .NET v7.0.1.3


Your issue should be fixed now.

Thank you.

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.