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.
Polar series pointer colour
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mont,
To achieve that you need to add the line below to your code.
To achieve that you need to add the line below to your code.
Code: Select all
.ColorEach = True
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |