Page 1 of 1

vertical scroll on scrollpager demo

Posted: Fri Jul 05, 2013 5:12 am
by 17466268
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]

Re: vertical scroll on scrollpager demo

Posted: Fri Jul 05, 2013 1:47 pm
by yeray
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.