Hi,
I would like to zoom in on a Rose Chart but when I zoom in using the mouse wheel chart only zooms on one axis, is there any way to force it to do this correctly and also clip the rose to the bounds of the circle?
Regards,
Sean.
TRoseChart Zoom
Re: TRoseChart Zoom
Hi,
I can't reproduce no one of the reported issues with the following code and TeeChart v2013.08:
What TeeChart version are you using?
Could you please arrange a simple example project we can run as-is to reproduce the problems here?
Thanks in advance.
I can't reproduce no one of the reported issues with the following code and TeeChart v2013.08:
Code: Select all
uses TeeRose;
var Chart1: TChart;
procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
Chart1:=TChart.Create(Self);
Chart1.Parent:=Self;
Chart1.Align:=alClient;
Chart1.View3D:=false;
for i:=0 to 4 do
with Chart1.AddSeries(TRoseSeries) as TRoseSeries do
begin
FillSampleValues;
Pointer.Visible:=false;
end;
end;
Could you please arrange a simple example project we can run as-is to reproduce the problems here?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 7
- Joined: Mon Jul 29, 2013 12:00 am
Re: TRoseChart Zoom
The same problem also occurs in the TeeChart Pro Examples app, just scroll your mouse wheel over the rose chart...
I am using Build 2013.08.130521
Sean.
I am using Build 2013.08.130521
Sean.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TRoseChart Zoom
Hi Sean,
Thanks for your feedback. I could reproduce the issue here and added it (TV52016726) to the defect list to be implemented in future releases.
Thanks for your feedback. I could reproduce the issue here and added it (TV52016726) to the defect list to be implemented in future releases.
You can clip the rose to the chart rectangle bounds like this:clip the rose to the bounds of the circle?
Code: Select all
procedure TForm2.Series1AfterDrawValues(Sender: TObject);
begin
Chart1.Canvas.UnClipRectangle;
end;
procedure TForm2.Series1BeforeDrawValues(Sender: TObject);
begin
Chart1.Canvas.ClipRectangle(Chart1.ChartRect);
end;
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:
Re: TRoseChart Zoom
Hi Sean,
As an update, setting TChart.ClipPoints to true already clips the series, for example:
As an update, setting TChart.ClipPoints to true already clips the series, for example:
Code: Select all
Chart1.ClipPoints:=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 |