-
-
Notifications
You must be signed in to change notification settings - Fork 836
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
Using inline plugins #130
Comments
Hey @kurbar in generall this should work. I have not worked with the inline plugin API so far but the whole options object will get passed to the Have to tried to console out out the chart that gets passed in the |
I did dig into the chart.js source a bit and it actually doesn't work in the given fashion since the inline plugins are defined outside of options.
What I did was implement a method To add a plugin, the code would look like this based on above example code:
|
Oh I see! I thought the plugins array was part of the options. So if you want to make a PR, feel free to do so ;) |
PR Merged. Will be available in the next release |
Is it possible to use inline plugins via
renderChart
?I tried doing something like this:
It didn't give any errors but it isn't showing the text in the middle of the graph.
The text was updated successfully, but these errors were encountered: