Hi,
I have a shapeseries array, whose size gets calculated whilst the code is running. I am looking for a way to automatically arrange for each member of the array to have a different color. How do I iterate through the colors?
I have also tried to just iterate through the color.fromargb, but for some reason this just gives the same color for every member of the array.
For i = 0 To ALLSegments.GetUpperBound(0)ALLSegments(i).Name = "Segment " & i
Dim RedValue As IntegerRedValue = i + 20
If RedValue > 255 ThenRedValue = 255
End IfALLSegments(i).FillStyle =
New NColorFillStyle(Color.FromArgb(50, RedValue, 255, 255))Next
Does anyone have any ideas on this?
Thanks,
Marcus