Polar series pointer colour
Posted: Wed Oct 25, 2006 1:09 pm
Hi there,
Is it possible to change the pointer colour of each point on a polar chart as it is drawn ?
I've tried the following without success (this used to work in ActiveX v7 - we've just upgraded to .NET v2):
.Add(20, 80, Color.Green)
.Add(30, 90, Color.Red)
I've also tried the following after drawing the chart, again without success:
For iCounter = 0 To .Series(0).Count - 1
If oPolar(iCounter).Y > sUSL Or oPolar(iCounter).Y < sLSL Then
oPolar.Colors(iCounter) = Color.Red
ElseIf oPolar(iCounter).Y > sUCL Or oPolar(iCounter).Y < sLCL Then
oPolar.Colors(iCounter) = Color.Orange
Else
oPolar.Colors(iCounter) = Color.Green
End If
Next
Maybe I'm getting confused with the Pointer/Colour properties for a polar series ? Any advice would be greatly appreciated.
Is it possible to change the pointer colour of each point on a polar chart as it is drawn ?
I've tried the following without success (this used to work in ActiveX v7 - we've just upgraded to .NET v2):
.Add(20, 80, Color.Green)
.Add(30, 90, Color.Red)
I've also tried the following after drawing the chart, again without success:
For iCounter = 0 To .Series(0).Count - 1
If oPolar(iCounter).Y > sUSL Or oPolar(iCounter).Y < sLSL Then
oPolar.Colors(iCounter) = Color.Red
ElseIf oPolar(iCounter).Y > sUCL Or oPolar(iCounter).Y < sLCL Then
oPolar.Colors(iCounter) = Color.Orange
Else
oPolar.Colors(iCounter) = Color.Green
End If
Next
Maybe I'm getting confused with the Pointer/Colour properties for a polar series ? Any advice would be greatly appreciated.