Eduk8tedMynd
Eduk8tedMynd

Reputation: 55

AChartEngine getIntent() display point values

I am using the AChartEngine library in my application. I currently am calculating the data points in a thread and displaying the graph upon completion. I am using the getIntent() method as I run different calculations based on which button the user selects. I want to be able to allow the user to select a point on the completed graph and have it display the values at that point. Is there a way to use the onClickListener with the intent? Or another way to possibly do this?

Upvotes: 1

Views: 228

Answers (1)

Dan D.
Dan D.

Reputation: 32391

You should probably use the GraphicalView approach. Doing this will allow you to easily add a click listener on the chart. See this example for some code.

Upvotes: 1

Related Questions