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 842

Summary: Rotating doesn't work at all with exponential labels.
Product: VCL TeeChart Reporter: sandra pazos <sandra>
Component: AxisAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal CC: david.novo
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: Exponential Labels

Description sandra pazos 2014-07-11 10:20:32 EDT
Created attachment 242 [details]
Exponential Labels

Rotating doesn't work at all with exponential labels.  The position where axis labels are drawn is wrong. The code below reproduces the problem. 

uses VCLTee.Series;
var Series1 :TLineSeries;
procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Align:=alClient;

  Series1 :=TLineSeries.Create(Self);
  Chart1.AddSeries(Series1);
  Series1.Add(      1);
  Series1.Add(     10);
  Series1.Add(    100);
  Series1.Add(   1000);
  Series1.Add(  10000);
  Series1.Add( 100000);
  Series1.Add(1000000);
  Chart1.Aspect.Orthogonal := false;
 Chart1.Aspect.Rotation := 100;
 Chart1.Axes.Left.LabelsExponent := True;
 Chart1.Axes.Left.AxisValuesFormat := '#.0 "x10" E+0';
end;

I have attached two images to see the differences.