-
Notifications
You must be signed in to change notification settings - Fork 489
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
Migrate to Chart.js v3.0.0-beta.6 #202
Conversation
Porting to CHART.JS 3 (dist/master) distribution
fallback using getProps of elements
Fixed typings Fixed unit-tests Allow es-2015
@simonbrunel finally got all test to pass. Not sure how to solve the netlify deployment preview as the docs app builds and works correctly locally for me. Would you be open to review, merge and release this under the |
samples/advanced/custom-labels.html
Outdated
@@ -44,17 +44,20 @@ | |||
|
|||
Samples.srand(0); | |||
|
|||
Chart.helpers.merge(Chart.defaults.global, { | |||
Chart.helpers.merge(Chart.defaults, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd use Chart.defaults.set('', {
in these
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find the Chart.defaults.set('', {})
syntax a bit weird (the empty string). Could set()
support one option instead (Chart.defaults.set({})
) so if first argument is not a string, then apply passed options to the root.
33d14e0
to
d13eb26
Compare
@santam85 Thanks for this new PR. I will have a look at it but I can't promise it will be this week. It's also a lot to digest since I'm not familiar with v3 implementation, so a lot to catch-up. An early feedback though: please revert changes in |
@santam85 I removed @simonbrunel I have some doubts about the IE11 support from chart.js beta 6. I submitted an issue (chartjs/Chart.js#8042) because it seems do not work on IE11 . |
Sorry, deleted the branch by mistake 👎 |
New PR including all changes present in #181
Here I fixed the last issues related to typings and cleaned the git history a bit.
Closes #180