Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2186 - Hide Side or Back Grid in the Depth axis
Summary: Hide Side or Back Grid in the Depth axis
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: 26.181203
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: yeray alonso
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-24 07:12 EDT by yeray alonso
Modified: 2019-04-24 07:16 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2019-04-24 07:12:07 EDT
You can hide the Grid from the Side or the Back walls for both the Left and the  Bottom axes. However, the same doesn't work for the Depth axis.

Ie:

uses TeePoin3;

type
  TAxisAccess=class(TChartAxis);

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Legend.Hide;
  Chart1.Chart3DPercent:=100;
  Chart1.Aspect.Orthogonal:=False;
  Chart1.Aspect.Zoom:=60;
  Chart1.Aspect.Rotation:=330;
  Chart1.Aspect.Elevation:=320;
  Chart1.Axes.Depth.Visible:=True;
  Chart1.Walls.Left.Color:=clGrayText;

  with Chart1.AddSeries(TPoint3DSeries) as TPoint3DSeries do
  begin
    LinePen.Hide;
    FillSampleValues;
  end;

  //Test hiding Back or Side grids for Left, Bottom and Depth axes

  TAxisAccess(Chart1.Axes.Left).IHideBackGrid:=True;
  TAxisAccess(Chart1.Axes.Left).IHideSideGrid:=True;

  TAxisAccess(Chart1.Axes.Bottom).IHideBackGrid:=True;
  TAxisAccess(Chart1.Axes.Bottom).IHideSideGrid:=True;

  TAxisAccess(Chart1.Axes.Depth).IHideBackGrid:=True;
  TAxisAccess(Chart1.Axes.Depth).IHideSideGrid:=True;
end;