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

Multiple line Chart, same view #340

Closed
djbennyj opened this issue Sep 4, 2015 · 2 comments
Closed

Multiple line Chart, same view #340

djbennyj opened this issue Sep 4, 2015 · 2 comments

Comments

@djbennyj
Copy link

djbennyj commented Sep 4, 2015

Hello, and thanks for his awesome library.

I would liike to know if it it possible to display 2 line charts at the same time.

I have a game, with 3 difficulty level, and on the stat page, i would like to display 3 lines, for each level of difficulty.

On xAxis would days, and on Yaxis the average score.

With 1 line for each difficulty level.

Is that possible?

ps : I managed to do what i want for 1 line, butcant figure out how to deal with the others.
screen shot 2015-09-04 at 6 39 24 pm

Thanks a lot for your help.

Ben

@JackLeeMing
Copy link

you can do that , just set datasets , you can set a Array but they use same xAxis

@danielgindi
Copy link
Collaborator

As @JackLeeMing said - just add multiple DataSets. Instead of passing a dataSet argument to your Data object, pass a dataSets argument (plural).

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

3 participants