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.

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;
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
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;
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 |
Code: Select all
Chart1.ClipPoints:=True;
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 |