Hello,
how can I solve the following problem:
Let's assume I have a chart series with 500 values. But I'll only see a section of the last 100 values (index 400 - 499). That means 400 values (index 0 - 399) are on the left hand side outside of the visible section. If I add a new value on the right hand side (500) now I'll see still 100 values (but now index 401 - 500) like a first in first out rule. If on the right side a new value is coming in on the left side a value is going out. The invisible values on left hand side should be visible by scrolling.
How can I solve such a problem?
Thanks in advance
UweF
Display of a fixed count X-values
-
- Newbie
- Posts: 9
- Joined: Fri Dec 03, 2004 5:00 am
- Location: Germany
Re: Display of a fixed count X-values
Hi, Uwe!
If I got your idea rigth then so
If I got your idea rigth then so
Code: Select all
YourSeries.AddY(NewYValue);
YourChart.BotomAxis.SetMinMax(YourSeries.Count-101,YourSeries.Count-1);
Regards, Alexander
=================
TeeChart Pro v8.05, Delphi 5 & Turbo Delphi Professional for Win32., Delphi & C++Builder 2009
=================
TeeChart Pro v8.05, Delphi 5 & Turbo Delphi Professional for Win32., Delphi & C++Builder 2009