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 857 - Exponential axes labels aren't work correctly when Orthogonal property is false.
Summary: Exponential axes labels aren't work correctly when Orthogonal property is false.
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: 140512
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-21 04:34 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

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2014-07-21 04:34:48 EDT
Exponential axes labels aren't work correctly when Orthogonal property is false. Basically, the position where axes labels are drawn is wrong. The below code reproduce the problem in bottom axis. 

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

  Series1.AddXY(      1,1);
  Series1.AddXY(     10,2);
  Series1.AddXY(    100,3);
  Series1.AddXY(   1000,4);
  Series1.AddXY(  10000,5);
  Series1.AddXY( 100000,6);
  Series1.AddXY(1000000,7);

 Chart1.Aspect.Orthogonal := false;
 Chart1.Axes.Bottom.LabelsExponent := True;
 Chart1.Axes.Bottom.AxisValuesFormat := '#.0 "x10" E+0';

The bug is related with bug number 842. Here there is the link http://bugs.teechart.net/show_bug.cgi?id=842