-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"chartValueSelected" is not getting called. #2383
Comments
This is nothing changed for the delegate. Please debug on your side to give proofs. |
@liuxuan30 Okay, I have re-arranged barChartView.xAxis.labelCount = 4 and setChart(dataPoints: months, values: unitsSold), thanks for the suggestion. But the issue isn't fixed yet. In ChartViewBase Class - delegate!.chartValueSelected?(self, entry: entry!, highlight: h!) = nil , but, So my concern:
Thanks in advance. |
try
and not
|
@thierryH91200 Yes, I tried
Didn't worked. Can you please provide the link of the sample project in Swift, where function chartValueSelected() is working? Thanks in advance. |
@thierryH91200 Thanks, this is really helpful. :) |
@SatishBirajdar did you get the delegate chartValueSelected to work? I ran into the same problem of the delegate not being called. EDIT: thanx @thierryH91200 . saw that
is the answer to cal the delegate function |
@anoo-radha Try the .zip sample that @thierryH91200 uploaded |
@SatishBirajdar , @danielgindi , @thierryH91200 |
Even the sample project is not working! Only the last and middle data points can be selected. For other data points, I see |
I have the exact same problem |
The latest version has a data selection bug. I downgraded to 3.5.0 and the selections work now. @tolgaytoklar |
Thank you so much, it also works for me now. |
Thank you!!! That's been killing me for 2 days - only a few points on the chart caused a call to |
I've just run into this issue with a line chart and assume it's the same issue, had upgraded from the cocoapod to the Swift Package Manager 4.0.2 and banged my head against the table for several hours trying to find out what was up. Hopefully this is rectified soon! |
Hi, is this issue fixed on the stable version? I found |
Hi. Ver 4.1.1 still has this problem, is there an update for the fix? |
I did all things asked on http://stackoverflow.com/questions/35038724/tap-callback-on-bar-in-barchart-in-ios-charts . @danielgindi did you do any changes in the library, preventing to detect the Bar tap event? Thanks in advance.
The text was updated successfully, but these errors were encountered: