MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

LineChart MarkerView click question

Open hweill opened this issue 12 years ago • 2 comments

I need to put some views on MarkerView ,including clickable buttons. How could I get the event of views clicked on MarkerView ?

hweill avatar Nov 06 '14 06:11 hweill

You can see the MyMarkerView class in sample app. Thanks

Bishalsingh avatar Nov 18 '14 07:11 Bishalsingh

mv.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Log.v("LineChartActivity","click"); Toast.makeText(getContext(),"click",Toast.LENGTH_LONG).show(); } }); the logcat didn't show the log, also the toast not show

BigXiangxy avatar Dec 24 '14 10:12 BigXiangxy