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 859

Summary: ArrowAxisTools always remain in the default ZPosition of Axes
Product: VCL TeeChart Reporter: sandra pazos <sandra>
Component: ToolsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: 140512   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version: RAD XE6

Description sandra pazos 2014-07-24 06:34:14 EDT
ArrowAxisTools always remain in the default ZPosition of Axes. It occurs when you work with 3D Charts.

The code below reproduce the problem: 
 
uses  VCLTee.Series,VCLTee.TeeTools; 
var Series1,Series2:TLineSeries;
ArrowAxisRight, ArrowAxisLeft:TAxisArrowTool;
procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1 := TLineSeries.Create(self);
  Series2 := TLineSeries.Create(self);
  Chart1.AddSeries(Series1);
  Chart1.AddSeries(Series2);
  Series1.FillSampleValues(50);
  Series2.FillSampleValues(50);
  //Tools Axis
  ArrowAxisRight := TAxisArrowTool.Create(Self);
  ArrowAxisLeft := TAxisArrowTool.Create(Self);
  Chart1.Tools.Add(ArrowAxisRight);
  Chart1.Tools.Add(ArrowAxisLeft);
  Series1.VertAxis := aLeftAxis;
  Series2.VertAxis := aRightAxis;
  ArrowAxisRight.Axis := Chart1.Axes.Right;
  ArrowAxisLeft.Axis := Chart1.Axes.Left;
  Chart1.Axes.Right.ZPosition := 0;
  Chart1.Axes.Left.ZPosition := 100;
End;