How to control the number of records in the chart ?
Posted: Wed Feb 13, 2008 4:33 am
Hi,
I am using TeeChart to display a database record. As database is quite big, I only want 100 records can be charted at once, then use key to shift the chart (scroll). How to do it ?
It seems to me there are two questions here,
(1) How to ensure only 100 records are indexed by the chart ? that is for the first time,
HorizAxis.Minimum =0;
HorizAxis.Maximum =100;
(2) Once the chart scroll, then the
HorizAxis.Minimum =0 + step;
HorizAxis.Maximum =100 + step;
Step is the shift increment or decrement.
Can you please point me ? thanks
Daniel
I am using TeeChart to display a database record. As database is quite big, I only want 100 records can be charted at once, then use key to shift the chart (scroll). How to do it ?
It seems to me there are two questions here,
(1) How to ensure only 100 records are indexed by the chart ? that is for the first time,
HorizAxis.Minimum =0;
HorizAxis.Maximum =100;
(2) Once the chart scroll, then the
HorizAxis.Minimum =0 + step;
HorizAxis.Maximum =100 + step;
Step is the shift increment or decrement.
Can you please point me ? thanks
Daniel