I'm using TeeChart 6 AX.
This version does not have ColorEachLine=True with PolarSerie.
Is this function supported in the last AX version ?
Regards
Gio
PolarSerie with ColorEachLine=True
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Gio,
This property is specific to Line series. However, with Polar series you can do use ColorEachPoint:
This property is specific to Line series. However, with Polar series you can do use ColorEachPoint:
Code: Select all
TChart1.AddSeries scPolar
TChart1.Series(0).FillSampleValues 5
TChart1.Series(0).ColorEachPoint = 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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Gio,
What you request is not supported at the moment but you can do something like this:
Notice that you can set pointer to not visible instead of using psSmallDot.
What you request is not supported at the moment but you can do something like this:
Code: Select all
Private Sub Form_Load()
TeeCommander1.Chart = TChart1
TChart1.AddSeries scPolar
TChart1.Series(0).FillSampleValues 5
TChart1.Series(0).ColorEachPoint = True
TChart1.Series(0).asPolar.Pointer.Visible = False
End Sub
Private Sub TChart1_OnAfterDraw()
For i = 1 To TChart1.Series(0).Count - 1
TChart1.Canvas.Pen.Color = TChart1.Series(0).PointColor(i)
TChart1.Canvas.MoveTo TChart1.Series(0).CalcXPos(i - 1), TChart1.Series(0).CalcYPos(i - 1)
TChart1.Canvas.LineTo TChart1.Series(0).CalcXPos(i), TChart1.Series(0).CalcYPos(i)
Next
End Sub
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Gio,
You're welcome. I'm glad to hear that fits your needs.
You're welcome. I'm glad to hear that fits your needs.
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 |