-
Notifications
You must be signed in to change notification settings - Fork 22
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
Different colors on datasets #8
Comments
|
Can you please give me an example? |
Nevermind, I figured it out. |
https://github.com/fanthos/chartjs-chart-timeline/blob/master/timeline.js#L245 colorFunction(text, dataobj) {
extras = dataobj[3]
...
} |
That's what I have done. Have a great day! |
@fanthos need to set min and max time on x axis how i can achieve? |
How can I set different colors on all datasets?
I tried using the default chartjs dataset options but it is not working and the with the colorFunction I can only set one color (or is it that I don't know how to use it).
Thank you.
The text was updated successfully, but these errors were encountered: