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

Does WilliamChart LineChartView support displaying multiple line at the same time? #206

Closed
noiz354 opened this issue Jul 5, 2017 · 4 comments
Labels

Comments

@noiz354
Copy link

noiz354 commented Jul 5, 2017

Does WilliamChart LineChartView support displaying multiple line at the same time?

@noiz354
Copy link
Author

noiz354 commented Jul 5, 2017

such as like this, multiline21

@noiz354
Copy link
Author

noiz354 commented Jul 5, 2017

i take a look at https://github.com/diogobernardino/WilliamChart/blob/master/mobile/src/main/java/com/db/williamchartdemo/linechart/LineCardOne.java, and line 80 till 95 shows that it have 2 lineset. but it only shown one dataset. so, how do linechartview determine which dataset will be shown? Thanks

@diogobernardino
Copy link
Owner

In that sample I'm using the second lineset to update the values, not to present both at the same time.
There's is nothing special to be done in order to present more than one line, just give as many linesets as you want (using addData())and then call show().

@noiz354
Copy link
Author

noiz354 commented Jul 6, 2017

ok, got that, thanks

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

No branches or pull requests

2 participants