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

Horizontal gradient for line points #6034

Closed
smokezp opened this issue Jan 31, 2019 · 3 comments
Closed

Horizontal gradient for line points #6034

smokezp opened this issue Jan 31, 2019 · 3 comments

Comments

@smokezp
Copy link

smokezp commented Jan 31, 2019

I am using 2.7.3 version Chart.js
But I cant make horizontal gradient for all points. It sets only for one point.
Is this a bug? Bc, this feature works in version 2.6.0.
I know, that I can calculate gradient this way: pointBackgroundColor: ['red', 'green', 'blue'].
But I think it's too hard.

@nagix
Copy link
Contributor

nagix commented Jan 31, 2019

This is duplicate of #5839, and was fixed in #5858. Please try master build

@smokezp
Copy link
Author

smokezp commented Jan 31, 2019

So, How I can get this latest version? I just run "npm install chart.js --save". But its not here.

@benmccann benmccann changed the title Horisontal gradinet for line points Horizontal gradient for line points Jan 31, 2019
@benmccann
Copy link
Contributor

Easiest way is to wait for the next release

You could also build this library yourself manually and link it in with npm link or copy the master build into node_modules/chart.js and edit package.json to point at it

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

No branches or pull requests

3 participants