How to get the label value of the clicked bar on HorizontalBarChart in MPAndroidChart?
<p>I am using <strong>HorizontalBarChart</strong> by <strong>com.github.PhilJay:MPAndroidChart:v2.2.5</strong>. I want to get the string values of the bar(label value) which I clicked.</p>

<p>This is my yAxis. I have 7 bars.</p>

<pre><code>chart = (HorizontalBarChart) vLayout.findViewById(R.id.hchart);

final ArrayList&lt;String&gt; xAxis = new ArrayList&lt;&gt;();
        xAxis.add("FG0028");
        xAxis.add("FG0010");
        xAxis.add("FG0009");
        xAxis.add("FG0005");
        xAxis.add("FG0004");
        xAxis.add("FG0002");
        xAxis.add("FG0001");
</code></pre>

<p>I want to get the label value of the bar i click, for example <strong>FG0028</strong></p>