-
-
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
Bar Chart Delegate. #96
Comments
Where's the problem? |
The problem is it perform segue when I click on the Bar as well as anywhere in the graph, i.e. Area of Graph where no Bar exists. |
Yes this is the way that the charts work, it finds the closest value. If you think this behaviour is wrong you can open an issue in the MPAndroidCharts repo. |
Ok Thanks for your reply. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Daniel,
Hope you are doing great.
I ran into a strange problem, i.e. Bar chart Delegate method.
What I want to achieve :
Click on the bar and Segue to another view controller.
Scenario :
I have bar chart with max visible count of 23, With adjustXLable true.
I have only two values to show on the graph 16,26 on index 15,17 respectively.
What is actually happening :
When I click anywhere (left) in the graph it perform segue with value of bar containing value 16.
When I click anywhere (right) in the graph it perform segue with value of bar containing value 26.
Can you please help me in this regard ?
What is possible solution for this ?
Thanks.
The text was updated successfully, but these errors were encountered: