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

Regression using custom dataset colors with chart.js 3.9.1 #41

Open
dregad opened this issue Oct 12, 2024 · 0 comments
Open

Regression using custom dataset colors with chart.js 3.9.1 #41

dregad opened this issue Oct 12, 2024 · 0 comments

Comments

@dregad
Copy link

dregad commented Oct 12, 2024

This is using @MaximBelov's fork, version 0.5.4.

Custom backgroundColor on a pie chart's datasets are ignored, see https://jsfiddle.net/8erzf0hn/

image image

It works (i.e. chart shows the expected custom colors) if you

  • switch to 2.9.4/0.4.0 (legacy code, image on the left);
  • do not import the colorschemes plugin
  • set the colors as a custom scheme (uncomment the options)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant