TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
-
acastro
- Advanced
- Posts: 204
- Joined: Tue Oct 27, 2009 12:00 am
Post
by acastro » Wed Apr 09, 2014 1:53 pm
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
-
Christopher
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Post
by Christopher » Wed Apr 09, 2014 1:57 pm
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.