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
txeska  
#1 Posted : Friday, March 25, 2011 12:49:31 PM(UTC)
txeska
Rank: Newbie

Groups: Registered
Joined: 3/22/2011(UTC)
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 5:28:07 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

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,

Edited by user Friday, March 25, 2011 5:28:49 PM(UTC)  | Reason: Not specified

File Attachment(s):
aiCharts.HitTestSampleV2.zip (15kb) downloaded 27 time(s).

You cannot view/download attachments. Try to login or register.
Volodymyr Baydalka
Andriod development and support team
txeska  
#3 Posted : Monday, March 28, 2011 11:44:34 AM(UTC)
txeska
Rank: Newbie

Groups: Registered
Joined: 3/22/2011(UTC)
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
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.