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 - Rotating doesn't work at all with exponential labels.
Summary: Rotating doesn't work at all with exponential labels.
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: unspecified
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-11 10:20 EDT by sandra pazos
Modified: 2014-07-21 13:48 EDT (History)
1 user (show)

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


Attachments
Exponential Labels (71.58 KB, application/x-zip-compressed)
2014-07-11 10:20 EDT, sandra pazos
Details

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