nagix / chartjs-plugin-style

Chart.js plugin for more styling options
MIT License
66 stars 19 forks source link

Uncaught Error: "defaultExtended" is not a chart type. #12

Open buzz8year opened 4 years ago

buzz8year commented 4 years ago

If one extends default controller, i.e.:

Chart.controllers.line.extend({ ... });

then, following error is raised:

https://github.com/nagix/chartjs-plugin-style/blob/027eb2763c012ae013e1016f47e83a00938f7bbb/src/plugins/plugin.style.js#L54

theianjohnson commented 4 years ago

Also getting this error while using https://github.com/sgratzl/chartjs-chart-geo

praveen-wal commented 4 years ago

@cocostru Have you found a solution for this? @theianjohnson