TChart 7.04 draw outside the Clientwindow

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Achim
Newbie
Newbie
Posts: 5
Joined: Mon Mar 07, 2005 5:00 am

TChart 7.04 draw outside the Clientwindow

Post by Achim » Thu Mar 24, 2005 2:51 pm

Put a TChart with a TAreaSeries to a form.
Then use following code:

procedure TForm4.Button2Click(Sender: TObject);
begin
Chart1.View3D:=false;
Series1.Transparency:=100;
Series1.AreaLinesPen.Visible:=false;
Series1.AddXY(now -0.1 ,10);
Series1.AddXY(now +0.1 ,10);
Series1.AddXY(now ,10);
Chart1.BottomAxis.SetMinMax(now-0.05,now+0.05);
end;

The Chart draw outside the Window. Any Idea how to fix this?

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Thu Mar 24, 2005 4:32 pm

Hi.

Yes, I'm getting the same results, but only if Transparency <> 0.0. I'll log this to the bug list so it can be addressed for next maintenance release.

For the time being the only workaround I can think is to set transparency to 0.
Marjan Slatinek,
http://www.steema.com

Post Reply