I'm using Combine chart with 2 data sets - line and bar and want to show markers when any of them is clicked.
However, when I click on the bar I always receive an entry from line data set.
override fun refreshContent(e: Entry?, highlight: Highlight?) {
if (e is BarEntry) {
// need to get here
}
} else if (e != null){
...
}
}
super.refreshContent(e, highlight)
}
Please advise how to trigger receiving bar entry as well?

I'm using Combine chart with 2 data sets - line and bar and want to show markers when any of them is clicked.
However, when I click on the bar I always receive an entry from line data set.
Please advise how to trigger receiving bar entry as well?