Page 1 of 1

Scrollpager and zoom direction

Posted: Wed Apr 09, 2014 1:53 pm
by 15654539
After I add a Scrollpager I set the zoomdirections to Both.

Code: Select all

  tChart1.Zoom.Direction = Steema.TeeChart.ZoomDirections.Both;
When I save it and open again it is again horizontal. And alghouht set to "Both" after the open it still is "Horizontal"

Here an example, if you press button1, then "save" and then "open". In the code of open it is set to "Both" but it is still "Horizontal".

http://193.145.251.126/pnp/files/qTJERU ... croll2.zip


Thanks

Re: Scrollpager and zoom direction

Posted: Wed Apr 09, 2014 1:57 pm
by Christopher
wakeup wrote:When I save it and open again it is again horizontal. And alghouht set to "Both" after the open it still is "Horizontal"
This is by design. ScrollPager is designed so that the details of the lower chart can be visualized in the upper chart based on the horizontal size of the "window" in the lower chart. Given that this "window" can only be moved horizontally, then a decision was taken by the design team to only enable horizontal zooming and scrolling in the upper chart.