Palakp February 2016

MPAndroidChart click listener on Bar chart,Pie chart and Stacked bar chart

How to perform click event on following graphs, Pie chart: click on particular reason open its detail. Bar chart: click on any bar open its detail. Stacked Bar chart: click on any bar open its detail.

Please do needful, Thanks in advance.

Answers


Philipp Jahoda February 2016

Use the OnChartValueSelectedListener. You can find the documentation on how to implement it here.

This listener allows you to react on click gestures performed on the charts.

Post Status

Asked in February 2016
Viewed 1,158 times
Voted 9
Answered 1 times

Search




Leave an answer