3D Chart with TGLCanvas

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
xsLiu
Newbie
Newbie
Posts: 33
Joined: Wed May 22, 2019 12:00 am

3D Chart with TGLCanvas

Post by xsLiu » Sun Dec 06, 2020 4:41 am

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?
Attachments
Fig1.jpg
Fig1.jpg (148.13 KiB) Viewed 7999 times
Fig2.jpg
Fig2.jpg (153.76 KiB) Viewed 7999 times
Fig3.jpg
Fig3.jpg (286.69 KiB) Viewed 7999 times

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: 3D Chart with TGLCanvas

Post by Yeray » Thu Dec 17, 2020 9:59 am

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
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply