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 594

Summary: Grid lines of Right axes doesn't draw correctly in 3D charts,
Product: VCL TeeChart Reporter: sandra pazos <sandra>
Component: AxisAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED NOTABUG    
Severity: normal CC: david
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2014-02-21 07:32:12 EST
Grid lines of Right axis doesn't draw correctly in 3D charts, because only are
painted in the back wall and never in right wall of chart.  I understand that
the right axis grid lines  must behave the same way as left axis grid lines and
in this moment it doesn't occur.
Below code reproduce the problem: 
uses VCLTee.TeeSurfa;
var Series1 :TVector3DSeries;
procedure TForm1.FormCreate(Sender: TObject);
begin
Series1 :=TVector3DSeries.Create(self);
Chart1.AddSeries(Series1);
Series1.FillSampleValues(30);
Chart1.Walls.Left.Visible := False;
Chart1.Walls.Right.Visible := True;
Chart1.Axes.Right.ZPosition :=0;
Chart1.Aspect.Orthogonal:=False;
Chart1.Aspect.Rotation :=36;
Series1.VertAxis := aBothVertAxis;
Chart1.Axes.Right.Grid.Visible := true;
Chart1.Axes.Right.Grid.Color := clGreen;
end;
The same problem occurs in TeeChart.Net version http://bugs.teechart.net/show_bug.cgi?id=555
Comment 2 david berneda 2014-03-19 14:08:16 EDT
I think this is not a bug.
By default, the Right axis Grid has a ZPosition of "100%" (the max 3D Z).

Setting it to 0 shows the grid lines:

Chart1.Axes.Right.Grid.ZPosition:=0;