forked from PhilJay/MPAndroidChart
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Now, there is no crashing, chart can be zoomed in, but pressing on entries does not highlight them.
When i set to highlight last entry via code, it works well, but on press, it does nothing.
Before last major release, everything was working completely fine
setOnChartValueSelectedListener(object : OnChartValueSelectedListener {
override fun onValueSelected(entry: Entry, highlight: Highlight) {
android.util.Log.d("CHART", "selected dataIndex=${highlight.dataIndex}, setIndex=${highlight.dataSetIndex}, x=${highlight.x}, y=${highlight.y}")
onSessionSelected(entry.data as? SessionData)
}
override fun onNothingSelected() {
android.util.Log.d("CHART", "nothing selected")
onSessionSelected(null)
}
})
On image, first log line is highlighting entry from the code, where last one is highlighted as a default intentional behaviur of the chart. I do press other entries on chart (there are 30+ entries), it triggers **onNothingSelected()**, so something is messed up in previous chart update.Metadata
Metadata
Assignees
Labels
No labels