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 1185

Summary: Top and Right axes title overlaps with labels under some circumstances
Product: VCL TeeChart Reporter: narcís calvet <narcis>
Component: AxisAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: david
Priority: Normal    
Version: 150120   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: test case

Description narcís calvet 2015-04-01 10:30:24 EDT
Top and Right axes title overlaps with labels when the chart is in 3D view as shown in the code snippet below. Looks like to occur depending on the Chart3DPercent value, for example when there are 2 series in the chart.

Discovered it implementing the fix for http://bugs.teechart.net/show_bug.cgi?id=1173. It existed before that bug fix.

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=True;
  Chart1.AddSeries(TLineSeries.Create(Self)).FillSampleValues;
  //Chart1.AddSeries(TLineSeries.Create(Self)).FillSampleValues;
  Chart1.Chart3DPercent:=30;

  Chart1[0].HorizAxis:=aBothHorizAxis;
  Chart1[0].VertAxis:=aBothVertAxis;

  Chart1.Axes.Left.Title.Caption:='left axis title';
  Chart1.Axes.Bottom.Title.Caption:='bottom axis title';
  Chart1.Axes.Right.Title.Caption:='right axis title';
  Chart1.Axes.Top.Title.Caption:='top axis title';
end;
Comment 1 narcís calvet 2015-04-01 10:35:44 EDT
Actually, this occured before but was less evident, with higher values of Chart3DPercent.
Comment 2 david berneda 2015-05-12 05:39:55 EDT
Fixed. 
Top and Right axes Title "Z" position was not considered in the last stage, just before painting.

Attached test project.
Comment 3 david berneda 2015-05-12 05:40:17 EDT
Created attachment 440 [details]
test case