ScrollPager not working properly

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
DaVinci
Newbie
Newbie
Posts: 9
Joined: Wed Feb 18, 2015 12:00 am

ScrollPager not working properly

Post by DaVinci » Thu Jun 25, 2015 2:05 pm

Hi,

I have in VS designer a TChart component placed on a form and activated the ScrollPager like this:
Snap1.png
Snap1.png (38.45 KiB) Viewed 5780 times
When I run my sample application, I get this window:
Snap2.png
Snap2.png (10.93 KiB) Viewed 5774 times
The ScrollPager is positioned to minimum and maximum 0, which is acceptable because no data is available for Series.

Now when I load data pressing the Data button (= line1.FillSampleValues(100);) I get this:
Snap3.png
Snap3.png (35.26 KiB) Viewed 5776 times
The ScrollPager is still positioned to 0 and I can't move the minimum or maximum.
What's wrong? Do I need to use a 'redraw' and where can I find this?

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: ScrollPager not working properly

Post by Christopher » Fri Jun 26, 2015 12:39 pm

The ScrollPager is still positioned to 0 and I can't move the minimum or maximum.
What's wrong? Do I need to use a 'redraw' and where can I find this?
The ScrollPager tool needs to be reassigned the series once this has had its data changed, i.e.

Code: Select all

    private void button4_Click(object sender, EventArgs e)
    {
      series1.FillSampleValues();
      tool1.Series = series1;
    }
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

DaVinci
Newbie
Newbie
Posts: 9
Joined: Wed Feb 18, 2015 12:00 am

Re: ScrollPager not working properly

Post by DaVinci » Fri Jun 26, 2015 2:10 pm

Like always, a simple answer :).
Thanks Christoper.

Post Reply