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
I currently have a storyboard where the first page contains a bar graph, when the user selects a bar I push to the next page. When I go back from that page the selected bar is still highlighted and I have to click it again to remove that highlight.
I was trying to remove the highlight in the function:
-(void)chartValueSelected:(ChartViewBase *)chartView entry:(ChartDataEntry *)entry highlight:(ChartHighlight *)highlight;
but I am not having any luck.
I am using Objective C. How do I go about doing this? I don't want to disable the highlighting all together just remove that highlight from the selected bar.
The text was updated successfully, but these errors were encountered:
chartValueSelected is delegate method, calling it by yourself is not supposed to work.
You can remove the highlight by passing nil or empty highlight objects in
open func highlightValue(_ highlight: Highlight?, callDelegate: Bool)
I currently have a storyboard where the first page contains a bar graph, when the user selects a bar I push to the next page. When I go back from that page the selected bar is still highlighted and I have to click it again to remove that highlight.
I was trying to remove the highlight in the function:
-(void)chartValueSelected:(ChartViewBase *)chartView entry:(ChartDataEntry *)entry highlight:(ChartHighlight *)highlight;
but I am not having any luck.
I am using Objective C. How do I go about doing this? I don't want to disable the highlighting all together just remove that highlight from the selected bar.
The text was updated successfully, but these errors were encountered: