Hi
I have added a TWindRose series to my chart and obviously want to add some points to it.
The help for Teechart v8 says that I should use the AddPolar method.
So I then try and add a point to my Series1 by means of Series1.AddPolar(MyAngle, MyValue, '', clRed ) as suggested in the help, but I don't see any AddPolar method in code completion even though I've included TeePolar, TeeRose in my uses clause.
I am obviously missing the trick here can you give me some code as a clue to help me out?
Bruce.
How to add a point to a TWindRose series...
Re: How to add a point to a TWindRose series...
Hello Bruce,
The Documentation information is incorrect. The problem is known for us and is in bug list resport with number TV52014218. We fix it to next maintenance releases of TeeChartVCL. On the other hand, if you want populate the TeeChart WindRose series correctly, you can do something as next:
I hope will helps.
Thanks,
The Documentation information is incorrect. The problem is known for us and is in bug list resport with number TV52014218. We fix it to next maintenance releases of TeeChartVCL. On the other hand, if you want populate the TeeChart WindRose series correctly, you can do something as next:
Code: Select all
Series1.AngleIncrement := 30;
Series1.Clear;
Series1.AddXY( 30, 100, '', clTeeColor );
Series1.AddXY( 60, 200, '', clTeeColor );
Series1.AddXY( 90, 50, '', clTeeColor );
Series1.AddXY( 120, 150, '', clTeeColor );
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: How to add a point to a TWindRose series...
Hi Sandra
Thanks for that I've now got it working!
Is producing something like this possible in the latest version of TeeChart?
Bruce.
Thanks for that I've now got it working!
Is producing something like this possible in the latest version of TeeChart?
Bruce.
- Attachments
-
- example_wind_rose.png (29.22 KiB) Viewed 6271 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: How to add a point to a TWindRose series...
Hi Metman,
Yes, this is possible with TRoseSeries, new in the latest TeeChart Pro version. You'll find an example at What's New?\Welcome!\New Series\Rose in the features demo, available at TeeChart's program group with both evaluation and registered version. Fully functional evaluation version can be downloaded here.
Yes, this is possible with TRoseSeries, new in the latest TeeChart Pro version. You'll find an example at What's New?\Welcome!\New Series\Rose in the features demo, available at TeeChart's program group with both evaluation and registered version. Fully functional evaluation version can be downloaded here.
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 |