We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Hi good Sir,
I want to change form PlotlyModule to PlotlyViaCDNModule.
If I change to PlotlyViaCDNModule in my modules imports I get this error in the browser console:
angular-plotly.js.js:416 Error while plotting: Error: Peer dependency plotly.js isn't installed
Prior to this change my charts where rendering fine!
Versions:
@angular/cli@7.3.8 angular-plotly.js@1.3.1 plotly.js@1.47.4
Module:
... imports PlotlyViaCDNModule.plotlyVersion = '1.5.0'; // can be `latest` or any version number (i.e.: '1.4.3') PlotlyViaCDNModule.plotlyBundle = 'basic'; // optional: can be null (for full) or 'basic', 'cartesian', 'geo', 'gl3d', 'gl2d', 'mapbox' or 'finance' const routes: Routes = [ { path: '', component: AnalyseComponent, } ]; @NgModule({ declarations: [AnalyseComponent, CrcBarChartComponent], imports: [ CommonModule, PlotlyViaCDNModule, MatCardModule, MatButtonModule, RouterModule.forChild(routes) ], exports: [ RouterModule ] }) export class AnalyseModule { }
Kind Regards, Frank
The text was updated successfully, but these errors were encountered:
@frankadrian you're right. It's a bug. The fix is coming in: #62
Sorry, something went wrong.
@frankadrian Please, update to version 1.3.2. Reopen this if the issue continues. Thanks a lot for reporting the bug 😸
1.3.2
Thanks @andrefarzat for the quick fix, its working 😎
andrefarzat
Successfully merging a pull request may close this issue.
Hi good Sir,
I want to change form PlotlyModule to PlotlyViaCDNModule.
If I change to PlotlyViaCDNModule in my modules imports I get this error in the browser console:
angular-plotly.js.js:416 Error while plotting: Error: Peer dependency plotly.js isn't installed
Prior to this change my charts where rendering fine!
Versions:
@angular/cli@7.3.8
angular-plotly.js@1.3.1
plotly.js@1.47.4
Module:
Kind Regards,
Frank
The text was updated successfully, but these errors were encountered: