Skip to content

Horizontal gradient for line points #6034

Closed

Description

@smokezp

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.

Activity

  1. nagix commented on Jan 31, 2019

    @nagix
    Contributor

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

  2. smokezp commented on Jan 31, 2019

    @smokezp
    Author

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

  3. changed the title [-]Horisontal gradinet for line points[/-] [+]Horizontal gradient for line points[/+] on Jan 31, 2019
  4. benmccann commented on Jan 31, 2019

    @benmccann
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions