You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When tapping on a bar using the BarChartView, the chartValueNothingSelected delegate method gets called instead of the chartValueSelected delegate method because the highlight is null in the highlightValue method. I've tried everything to get it to not be null but cannot figure it out.
The text was updated successfully, but these errors were encountered:
socaljoker
changed the title
getHighlight returns null
chartValueSelected Delegate Method Not Called
May 1, 2017
if callDelegate && delegate !=nil{
if h ==nil{
delegate!.chartValueNothingSelected?(self)}else{
// notify the listener
delegate!.chartValueSelected?(self, entry: entry!, highlight: h!)}}
When tapping on a bar using the BarChartView, the chartValueNothingSelected delegate method gets called instead of the chartValueSelected delegate method because the highlight is null in the highlightValue method. I've tried everything to get it to not be null but cannot figure it out.
The text was updated successfully, but these errors were encountered: