Hi Juli,
You can do it on the ScrollBar Scroll event adding as many values as your
ScrollIncrement (see my previous post). Also add the values at Form_Load so
that the series first page is populated with data when running the
application.
private void hScrollBar1_Scroll(object sender,
System.Windows.Forms.ScrollEventArgs e)
{
tChart1.Axes.Bottom.SetMinMax(0+hScrollBar1.Value, ScrollIncrement+hScrollBar
1.Value);
Random Value = new Random();
for(int i=0; i<ScrollIncrement; i++)
line2.Add(Value.Next(100));
}
Regards,
Narcís.
"juli jul" <ju******@yahoo.com> wrote in message
news:uo**************@TK2MSFTNGP10.phx.gbl...
I want to do I paging in a scroll bar. I mean to provide each scroll a
new data (dynamiclly) in to the chart.
How it can be done? Thanks a lot!
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!