Page 1 of 1

Display of a fixed count X-values

Posted: Thu Aug 02, 2007 7:44 pm
by 9235161
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

Re: Display of a fixed count X-values

Posted: Thu Aug 02, 2007 10:05 pm
by 9047589
Hi, Uwe!
If I got your idea rigth then so

Code: Select all

  YourSeries.AddY(NewYValue);
  YourChart.BotomAxis.SetMinMax(YourSeries.Count-101,YourSeries.Count-1);