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 - [TV52015934] A customer (Ricky.Thramkrongart@man.eu) suggests: 1 - I have reviewe...
Summary: [TV52015934] A customer (Ricky.Thramkrongart@man.eu) suggests: 1 - I have rev...
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: unspecified
Hardware: All All
: Normal enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 09:47 EST by yeray alonso
Modified: 2013-12-04 12:18 EST (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 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 )