-
Notifications
You must be signed in to change notification settings - Fork 105
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
Can we use chartjs-node-canvas instead of chartjs-node? #137
Can we use chartjs-node-canvas instead of chartjs-node? #137
Conversation
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.
thanks @sisidovski!
just the one note about color contrast but otherwise this is great :)
"chart.js": "^2.8.0", | ||
"chartjs-node": "^1.7.1", | ||
"chart.js": "^2.9.4", | ||
"chartjs-node-canvas": "^3.2.0", |
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.
the new legend text is extremely hard to read, could we fix the font color there?
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.
Ah that is correct, let me check.
e10a0b7
to
6ea5405
Compare
6ea5405
to
1d38fb3
Compare
The legend is still slightly different, but now it has the better color contrast. WDYT? @patrickhulce |
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.
different it fine this is even more legible :)
thanks very much!
Hi!
I tried to update README.md file, but I couldn't install chartjs-node library on the current master branch because of node-gyp error. Maybe similar to vmpowerio/chartjs-node#85, I couldn't fix this installation issue on my local machine (Mac OS 11.3.1, node.js v16.4.2).
I don't know how reasonable it is, but It looks like chartjs-node is not actively maintained anymore. So can we use chartjs-node-canvas instead?