Dear Yeray,
I'm currently using TChart3D with three TSurfaceSeries. Enabling the BottomAxis, LeftAxis by setting its visible property to TRUE (Chart3D.Axes.Bottom.visible:=TRUE for example) is working fine - the bottom and LeftAxis are shown as expected. If I set Chart3D.Axes.Depth.Visible:=TRUE or Chart3D.Axes.DepthTop.Visible:=TRUE the program crashes in function TwinControl.Painthandler ? It also crashes if I set the "Visible" properties of those two axes in the TChart Editor at design time!
Do you have an idea whats going wrong here ?
Best regards,
Klaus
enabling TChart3D Depth axes causes crash
Re: enabling TChart3D Depth axes causes crash
Hi Klaus,
I could reproduce the problem so I've created a new ticket in the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=826
I could reproduce the problem so I've created a new ticket in the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=826
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: enabling TChart3D Depth axes causes crash
Hello,
This seems to work as a workaround for me here:
This seems to work as a workaround for me here:
Code: Select all
uses TeeChart3D, TeeSurfa;
var Chart3D1: TChart3D;
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart3D1:=TChart3D.Create(Self);
Chart3D1.Parent:=Self;
Chart3D1.Align:=alClient;
Chart3D1.Chart.AddSeries(TSurfaceSeries).FillSampleValues();
Chart3D1.Chart.Axes.Depth.Visible:=true;
Chart3D1.Chart.OnBeforeDrawAxes:=ChartBeforeDrawAxes;
end;
procedure TForm1.ChartBeforeDrawAxes(Sender: TObject);
begin
Chart3D1.Chart.Canvas.View3DOptions:=Chart3D1.Chart.View3DOptions;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |