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 284

Summary: [TV52015934] A customer (Ricky.Thramkrongart@man.eu) suggests: 1 - I have reviewe...
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: AxisAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: david
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2013-11-20 10:36:18 EST
A customer (Ricky.Thramkrongart@man.eu) suggests:
1 - I have reviewed the code that determents the increment (TChartAxis.CalcDateTimeIncrement).
I have found a bug when an increment below dtOneSecond is calculated: the increment jumps incorrectly directly from 1 sec to 1 ms and not in the 1..2..5..10..20..50..100..200..500 intervals.
For "TeeChart2011 v2011.04.41118" TeEngine.pas line 3143 :
  result:=TeeNextStep(result)
Should read instead:
  result:=TeeNextStep(result/DateTimeStep[dtOneMilliSecond])*DateTimeStep[dtOneMilliSecond]
2 - May I humbly suggest for matter of symmetry and reasonable 2~2.5x distant between 2 and 5 seconds/minutes, suggest the following additional labels:
 dtTwoSecond, dtTwoMinute [created:2011-11-30T09:47:48.000+01:00 reported by:yeray@steema.com reported in version:2011.04.41118 (TeeChart VCL)]
Comment 1 david berneda 2013-12-04 12:18:53 EST
I guess this problem is fixed with latest source code.

Several new constants were introduced (see below), and, it is always possible to specify a fixed custom Increment.  

(For example for Two seconds: Chart1.Axes.Bottom.Increment := 2/86400 )