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

Summary: Hide Side or Back Grid in the Depth axis
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: AxisAssignee: yeray alonso <yeray>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: 26.181203   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

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;