How to add a point to a TWindRose series...

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Metman
Advanced
Posts: 113
Joined: Fri Dec 21, 2007 12:00 am

How to add a point to a TWindRose series...

Post by Metman » Tue Aug 13, 2013 4:33 pm

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.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: How to add a point to a TWindRose series...

Post by Sandra » Wed Aug 14, 2013 11:53 am

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:

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 );
I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / 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

Metman
Advanced
Posts: 113
Joined: Fri Dec 21, 2007 12:00 am

Re: How to add a point to a TWindRose series...

Post by Metman » Wed Aug 14, 2013 3:00 pm

Hi Sandra

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
example_wind_rose.png (29.22 KiB) Viewed 6202 times

Narcís
Site Admin
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...

Post by Narcís » Wed Aug 14, 2013 3:04 pm

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.
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