Dear Aspose,
While looking at a part of production code I came across the following piece of code:
For Each objPoint As Aspose.Cells.Charts.ChartPoint In objChart.NSeries(0).Points
objPoint.Area.ForegroundColor = Drawing.Color.FromArgb(0, 87, 117, 152)
Next
I cannot found out what this does in the output Excel file.
I have create a piece of test code to pin point it which is run against a template with several chart types (line, pie and bar) but none of them show anything different.
Please help me by pointing me in the correct direction:
This is the test code which is applied on a chart:
Case “point area foregroundcolor”
For Each objNserie2 In objChart.NSeries
For Each objPoint As Charts.ChartPoint In objNserie2.Points
Dim objColor = System.Drawing.ColorTranslator.FromHtml(strValue)
objPoint.Area.FillFormat.FillType = Drawing.FillType.Solid
objPoint.Area.FillFormat.SolidFill.Color = objColor
objPoint.Area.ForegroundColor = objColor
objPoint.Area.BackgroundColor = objColor
objPoint.Border.Color = System.Drawing.Color.Black
objPoint.Border.Weight = Drawing.WeightType.WideLine
Next
Next
I have attached the file I try to apply the changes to.
I have tested this with the newest version and a version of Aspose.cells 8.*.