Skip to content

make hw-chartjs-plugin-colorschemes work with charjs 4.5.1#2

Open
stuffa wants to merge 2 commits intoMaximBelov:masterfrom
stuffa:master
Open

make hw-chartjs-plugin-colorschemes work with charjs 4.5.1#2
stuffa wants to merge 2 commits intoMaximBelov:masterfrom
stuffa:master

Conversation

@stuffa
Copy link
Copy Markdown

@stuffa stuffa commented Mar 2, 2026

Im not sure when it changed, but charjs has changed the way the color helper function is accessed
This PR shows how to fix the access to the helper method. I have published this as csm-chartjs-plugin-colorschemes

I not sure when this changed, but the color helper is no longer accessible as a method on Chart, each helper must be imported
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

Successfully merging this pull request may close these issues.

1 participant