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! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
shleekr  
#1 Posted : Sunday, January 23, 2011 10:31:25 PM(UTC)
shleekr
Rank: Newbie

Groups: Registered
Joined: 1/8/2011(UTC)
Posts: 1
Location: Seoul, Korea

Hi,

Is there any way to use setHitTestEnabled(true) and setPanning in an Activity at the same time ?

Here's my test scenario.

<start>
...
chartView.setPanning(ChartView.PANNING_HORIZONTAL);

...

public void onShowPress(MotionEvent e) {
chartView.setHitTestEnabled(true);
TestPoint.setText("onShowPress");
}
...

public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
TestPoint.setText("onScroll");
}
...
<end>

During the program is running, when I take a gesture 'onShowPress', unfortunately, I can see "onScroll" instead of the message "onShowPress".

I think the problem shown by the above declaration 'setPanning', but I do not know how to fix it.

Your advice would be appreciated.
Thanks and Regards,
Sang-hyun Lee
File Attachment(s):
testsh.zip (5kb) downloaded 2 time(s).

You cannot view/download attachments. Try to login or register.
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.