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

Multi axes chart scrolling Options · View
Elvira
#1 Posted : Friday, January 18, 2013 10:49:42 AM
Rank: Newbie

Groups: Registered

Joined: 1/17/2013
Posts: 5
Hi!

I took ZoomAdvSample and tried to change it by adding the second y-axis (see attachment ZoomAdvSample.zip)

After zooming I can move only one line by touching the screen. The second line which is on the additional y-axis doesn't move.

I set setScrollBarEnabled(true) for the second y-axis but it doesn't help.

When I touch the screen and move up/down only default y-axis scrollbar is moving.

What should I do with second y-axis to make it's scrollbar move?
File Attachment(s):
ZoomAdvSample.zip (319kb) downloaded 8 time(s).
Baydalka Volodymyr
#2 Posted : Monday, January 21, 2013 3:06:41 PM
Rank: Developers Team


Groups: Registered, Administrators

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

There is two ways:
1) implement new scrolling behavior. You may use methods ChartView.scroll(ChartArea, ChartAxis, ChartAxis, float, float), etc.

2) copy scroll position from primary axis. Please check - [aiCharts.Android]\Samples\New.Features\ScaleChangeListenerSample

Best regards,
Volodymyr Baydalka
Andriod development and support team
Elvira
#3 Posted : Wednesday, January 23, 2013 12:30:27 PM
Rank: Newbie

Groups: Registered

Joined: 1/17/2013
Posts: 5
Thank you for reply.

I choose the second way and now it works fine.
Elvira
#4 Posted : Tuesday, January 29, 2013 7:29:26 AM
Rank: Newbie

Groups: Registered

Joined: 1/17/2013
Posts: 5
Baydalka Volodymyr wrote:
Hi,

There is two ways:
1) implement new scrolling behavior. You may use methods ChartView.scroll(ChartArea, ChartAxis, ChartAxis, float, float), etc.

2) copy scroll position from primary axis. Please check - [aiCharts.Android]\Samples\New.Features\ScaleChangeListenerSample

Best regards,


I chooze the second way and it works until I change the visibility of the default Y-axis (see the attachment).

I cannot find ChartView.scroll(ChartArea, ChartAxis, ChartAxis, float, float) method and method to set listener to the ChartArea in order to implement scrolling behavior.
File Attachment(s):
ZoomAdvSample (2).zip (322kb) downloaded 1 time(s).
Baydalka Volodymyr
#5 Posted : Wednesday, January 30, 2013 11:56:29 AM
Rank: Developers Team


Groups: Registered, Administrators

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

Try to redownload latest aiCharts package - http://www.artfulbits.com/products/android/try/aicharts.aspx

Best regards,
Volodymyr Baydalka
Andriod development and support team
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-2016 ArtfulBits. All rights reserved.