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

touchListener Scrollable Options · View
txeska
#1 Posted : Friday, March 25, 2011 10:49:31 AM
Rank: Newbie

Groups: Registered

Joined: 3/22/2011
Posts: 2
Location: santander
I'm testing the bar graph before buying the license, and am having problems when I try to combine the following instructions:

Code:

private OnPointClickListener pointClickListener = new OnPointClickListener(){
    public void onPointClick(ChartPoint point) {
        ...
        }
    };
...

chartView.setPanning(ChartView.PANNING_HORIZONTAL);
chartView.setOnTouchListener(pointClickListener);
chartView.setHitTestEnabled(true);



When active the TouchListener, horizontal scroll is disabled. How can i make my TouchListener Scrollable?

Baydalka Volodymyr
#2 Posted : Friday, March 25, 2011 3:28:07 PM
Rank: Developers Team


Groups: Registered, Administrators

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

Unfortunately I can't find OnPointClickListener class in aiCharts library or samples from package. I guess you use aiCharts.HitTestSampleV2.zip sample from forum. I have updated the sample to support scrolling.

Best regards,
File Attachment(s):
aiCharts.HitTestSampleV2.zip (15kb) downloaded 27 time(s).
Volodymyr Baydalka
Andriod development and support team
txeska
#3 Posted : Monday, March 28, 2011 9:44:34 AM
Rank: Newbie

Groups: Registered

Joined: 3/22/2011
Posts: 2
Location: santander
Hi support,

I forgot to mention that OnPointClickListener is the implementation of OnTouchListener like in the aiCharts.HitTestSampleV2.zip you comment.

this example solves my doubts, thank you very much
Users browsing this topic
Guest (2)
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.