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 - Top and Right axes title overlaps with labels under some circumstances
Summary: Top and Right axes title overlaps with labels under some circumstances
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: 150120
Hardware: PC Windows
: Normal enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-01 10:30 EDT by narcís calvet
Modified: 2015-05-12 05:40 EDT (History)
1 user (show)

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


Attachments
test case (2.51 KB, application/x-zip-compressed)
2015-05-12 05:40 EDT, david berneda
Details

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