Page 1 of 1

3D Chart with TGLCanvas

Posted: Sun Dec 06, 2020 4:41 am
by 16586272
I want to have “AutoHide” Walls with Frame (see Red Lines in attached pictures). The code used as follows:

Code: Select all

      with Walls do
        begin
          Visible := true;
          Size := 1;
          View3DWalls := false;
          Left.Visible := true;
          Left.AutoHide := true;
          Bottom.Visible := true;
          Bottom.AutoHide := true;
          Back.Visible := true;
          Back.AutoHide := true;
          Right.Visible := false;
        end;
1. When View3DWalls := false, Walls are AutoHide, but no Frame. When View3DWalls := true, the Chart shows Frame, but Walls are not AutoHide (except Walls.Back).
2. When Axis.Title.Caption use Chinese characters, they display in garbled code.

How to solve these problems?

Re: 3D Chart with TGLCanvas

Posted: Thu Dec 17, 2020 9:59 am
by yeray
Hello,
xsLiu wrote:
Sun Dec 06, 2020 4:41 am
When View3DWalls := true, the Chart shows Frame, but Walls are not AutoHide (except Walls.Back).
You can set the Left and Bottom Walls brush to bsClear:

Code: Select all

with Walls do
begin
  Left.Brush.Style:=bsClear;
  Bottom.Brush.Style:=bsClear;
end;
xsLiu wrote:
Sun Dec 06, 2020 4:41 am
2. When Axis.Title.Caption use Chinese characters, they display in garbled code.
That's a known issue already in the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1728