Polar series pointer colour

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Mont
Newbie
Newbie
Posts: 9
Joined: Tue Aug 17, 2004 4:00 am

Polar series pointer colour

Post by Mont » 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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Oct 25, 2006 1:34 pm

Hi Mont,

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply