For anyone looking for an answer, he was fairly straightforward. Just implement ChartViewDelegatewhere you have it BarChartView, and just implement the method func chartValueSelected(chartView: ChartViewBase, entry: ChartDataEntry, dataSetIndex: Int, highlight: ChartHighlight), and you are all set.
source
share