vertical scroll on scrollpager demo

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
SetOnHi
Newbie
Newbie
Posts: 8
Joined: Tue Jun 18, 2013 12:00 am

vertical scroll on scrollpager demo

Post by SetOnHi » Fri Jul 05, 2013 5:12 am

In the scrollpager demo tool there is an edit button
If I select Chart->General scroll tab I can set vertical scrolling to true or both
What is the java code to implement this in my program
I cannot find any method which turns on vertical scrolling for the scrollpager

Also is it possible to provide source code for the "Editing ScrollPager Tool"
There are so many options I would like to use but cannot find the corresponding source code in the documentation or javadocs.
The documentation provided with teechart is very sparse and worse still a lot of the javadoc is incomplete [i.e. no description of the method]

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: vertical scroll on scrollpager demo

Post by Yeray » Fri Jul 05, 2013 1:47 pm

Hi,
SetOnHi wrote:In the scrollpager demo tool there is an edit button
If I select Chart->General scroll tab I can set vertical scrolling to true or both
What is the java code to implement this in my program
I cannot find any method which turns on vertical scrolling for the scrollpager
I think you mean this:

Code: Select all

tChart1.getPanning().setAllow(ScrollMode.BOTH);
tChart1.getPanning().setAllow(ScrollMode.HORIZONTAL);
tChart1.getPanning().setAllow(ScrollMode.VERTICAL);
tChart1.getPanning().setAllow(ScrollMode.NONE);
SetOnHi wrote:Also is it possible to provide source code for the "Editing ScrollPager Tool"
There are so many options I would like to use but cannot find the corresponding source code in the documentation or javadocs.
The documentation provided with teechart is very sparse and worse still a lot of the javadoc is incomplete [i.e. no description of the method]
The ScrollPagerEditor itself isn't very complicate. I guess you mean the whole editor. Could you please post some screenshot showing what exact page and options are you interested in?
I can tell you what a concrete button/checkbox does if you ask for some concrete ones, but I can't post the whole sources here. If you want to look at the full sources, you should own a source code license.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply