We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have an angular app that uses several chartjs plugins, including chart-geo.
When adding this plugin via
npm install --save chart.js @sgratzl/chartjs-chart-boxplot
My existing code that starts to produce errors that suggest the chart-geo plugin is not installed.
Errors:
TS2820: Type '"bubbleMap"' is not assignable to type 'keyof ChartTypeRegistry'. Did you mean '"bubble"'
Context
Can these two plugins co-exist in the same project?
Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
Relevant pieces of code
I define chartType in a 'parent' class as follows:
public chartType: ChartType;
then in a child class that extends from the parent I set it as:
this.chartType = 'bubbleMap'; /// doesn't work after installing the boxplot. this.chartType = 'violin'; // works
Sorry, something went wrong.
closed in error
cannot replicate: https://codesandbox.io/p/sandbox/multi-chartjs-plugins-8n5y6j?file=%2Fsrc%2Findex.ts%3A37%2C13
No branches or pull requests
I have an angular app that uses several chartjs plugins, including chart-geo.
When adding this plugin via
npm install --save chart.js @sgratzl/chartjs-chart-boxplot
My existing code that starts to produce errors that suggest the chart-geo plugin is not installed.
Errors:
TS2820: Type '"bubbleMap"' is not assignable to type 'keyof ChartTypeRegistry'. Did you mean '"bubble"'
Context
Can these two plugins co-exist in the same project?
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: