whitespace COMPANY whitespace SERVICES whitespace PRODUCTS whitespace PURCHASE whitespace SUPPORT whitespace CONTACTS whitespace Home whitespace Contact Us whitespace Site Map whitespace
whitespace
SUPPORT
whitespace
FORUM
whitespace
FAQS
whitespace
SUBSCRIPTION
whitespace
REQUEST ON-LINE
whitespace
whitespace

Technical Support Forum

Welcome Guest Search | Active Topics | Log In | Register

Disable Axis autoscaling Options · View
staiiff
#1 Posted : Friday, November 26, 2010 12:40:41 PM
Rank: Newbie

Groups: Registered

Joined: 11/26/2010
Posts: 2
Hi,

Is there a way to disable Axis autoscaling ?

FYI reason behind this need is for instance, if I implement points dragging gesture to move them along the Y Axis, the Axis will automatically scale. While this is expectable and useful in case you don't correlate dragging of a given point with other points (i.e. moving a whole curve with transformation), in the opposite case you get scaling madness.
I think the best in this case is to disable the scaling while the point is being moved and let the optimum scaling be calculated when releasing the gesture.

Thank you !

Stefan
Baydalka Volodymyr
#2 Posted : Friday, November 26, 2010 1:17:24 PM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
Hi,

Try to set axis range manually to disable auto-scaling.
Methods : ChartAxis.getScale().setRange(min, max);

Best regards,
Volodymyr Baydalka
Andriod development and support team
staiiff
#3 Posted : Friday, November 26, 2010 1:35:04 PM
Rank: Newbie

Groups: Registered

Joined: 11/26/2010
Posts: 2
Seems I can deal with that. Thank you !

Stefan
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Company | Services | Practices | Technologies | Career | Contacts | Privacy
© 2005-2017 ArtfulBits. All rights reserved.