Page 1 of 1

TChart 7.04 draw outside the Clientwindow

Posted: Thu Mar 24, 2005 2:51 pm
by 9341182
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?

Posted: Thu Mar 24, 2005 4:32 pm
by Marjan
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.