Skip to content

Elaborate example of backgroundColor gradients function #8376

Description

@fgroenendijk

Documentation Is:

  • Missing or needed
  • Confusing
  • Not Sure?

Please Explain in Detail...

It took me quite some time to figure out how to use gradients for just the first and last item in a bar chart.
At last I found out how to do it, the answer was in the documentation, doh!

If you'd like I can add it in a pull request as documentation, it's for chart.js v3.

Great work btw!

Your Proposal for Changes

Add some extra documentation

Example

Activity

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