How to get label for corresponding swipe in barchart of mpandroidchart?
问题 How to get label for corresponding bar when I swipe the barchart? I have another textview outside of barchart. When I swipe mpandroidchart graph, I need to get x axis label of corresponding position and display in textview. How to do that? I tried with this. barChart.setOnChartValueSelectedListener(new OnChartValueSelectedListener() { @Override public void onValueSelected(Entry e, int dataSetIndex, Highlight h) { Log.i("Entry", String.valueOf(e)); } @Override public void onNothingSelected() {