I know that on MPAndroidChart
is possible to handle events on the charts. On its documentation are all well documented.
Nevertheless I am not able to find any documentation about the same events on ios-chart
. I know that its creator tells that we should follow the documentaiton of MPAndroidChart
for his library also but I am not able to handle that events on Swift 3.0.
I also could not find any examples handle these events for ios-chart
library.
so, Is it possible to handle tap event on ios-chart
library?
EDIT: According to the feedback of @AdamM
I am going to put here the function in which I set the data to the chart.
func enterData(valuesChart: [BarChartDataEntry]){
let chartDataSet = BarChartDataSet(values: valuesChart, label: "Total Values")
let charData = BarChartData(dataSets: [chartDataSet])
barChartView?.data = charData
barChartView?.animate(xAxisDuration: 2.0, yAxisDuration: 2.0)
}
Thanks in advance!