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 - ArrowAxisTools always remain in the default ZPosition of Axes
Summary: ArrowAxisTools always remain in the default ZPosition of Axes
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: 140512
Hardware: PC Windows
: Normal enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 06:34 EDT by sandra pazos
Modified: 2014-07-24 06:34 EDT (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;