Skip to content
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

How to get a value from line graph if there is more than one lines #3817

Closed
1 task
pratik-jaiswal opened this issue Jan 15, 2019 · 1 comment
Closed
1 task

Comments

@pratik-jaiswal
Copy link

What did you do?

I'm using using one custom scroller to show the value of graph. i'm also using
chartView.getEntryByTouchPoint(point: scrollerView.center).

What did you expect to happen?

this works perfectly for one line or one dataSet's line graph but when there is more than one lines then what should i do to get all the lines data at that point.

What happened instead?

It's only returning one of the line entry and not both of them so what should i do to get all of them at the same time or one by one??

Charts Environment

Charts version/Branch/Commit Number:3.2.1
Xcode version:10.1
Swift version:4.2
Platform(s) running Charts:ios
macOS version running Xcode:10.13.6

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.

@pratik-jaiswal pratik-jaiswal changed the title How to get a value from line graph if there is more than one li How to get a value from line graph if there is more than one lines Jan 15, 2019
@liuxuan30
Copy link
Member

ask on stack overflow please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants