Hello,
On a TPolarSeries is it possible to change the place of the angle 0° and to increment the angle in clock wise instead of anticlockwise?
Thanks for help
Regards
TpolarSeries and graduation
Re: TpolarSeries and graduation
Hi Calou,
If you use AddPolar method to populate your series, you could specify your angles, for example:
If you use AddPolar method to populate your series, you could specify your angles, for example:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var alfa: integer;
begin
alfa := 45;
Series1.AddPolar(0-alfa,100);
Series1.AddPolar(-45-alfa,200);
Series1.AddPolar(-90-alfa,150);
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TpolarSeries and graduation
Hello here is my code with a TRoseSeries
Series1.AddXY(0,20);
Series1.AddXY(30,20);
Series1.AddXY(30,0);
Series1.AddXY(30,40);
Series1.AddXY(60,40);
Series1.AddXY(60,0);
It works good
Now if i do the code below the draw is not correct (i want the same that above but in clockwise)
Series1.AddXY(0,20);
Series1.AddXY(-30,20);
Series1.AddXY(-30,0);
Series1.AddXY(-30,40);
Series1.AddXY(-60,40);
Series1.AddXY(-60,0);
Thanks for help
Series1.AddXY(0,20);
Series1.AddXY(30,20);
Series1.AddXY(30,0);
Series1.AddXY(30,40);
Series1.AddXY(60,40);
Series1.AddXY(60,0);
It works good
Now if i do the code below the draw is not correct (i want the same that above but in clockwise)
Series1.AddXY(0,20);
Series1.AddXY(-30,20);
Series1.AddXY(-30,0);
Series1.AddXY(-30,40);
Series1.AddXY(-60,40);
Series1.AddXY(-60,0);
Thanks for help
Re: TpolarSeries and graduation
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TpolarSeries and graduation
Thank you, it works good,
I have an other question. On a Tpolar how could i do to begin the graduation 0° at top instead of on the right?
Thanks
I have an other question. On a Tpolar how could i do to begin the graduation 0° at top instead of on the right?
Thanks
Re: TpolarSeries and graduation
I find the solution with property rotation
Many thanks for help
Many thanks for help
Re: TpolarSeries and graduation
Hi Calou,
I'm glad to hear that!
I'm glad to hear that!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |