-
-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Description
Hi,
I am using angular plotly and facing issue while adding plotly with window.
Error: Plotly object not found on window.
i already added this in angular.json
"scripts": ["./node_modules/plotly.js/dist/plotly.min.js"]
app.module.ts
import { CommonModule } from '@angular/common';
import { PlotlyViaWindowModule } from 'angular-plotly.js';
@NgModule({
declarations: [
AppComponent
],
imports: [
CommonModule,
BrowserModule.withServerTransition({ appId: 'serverApp' }),
AppRoutingModule,
PlotlyViaWindowModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Metadata
Metadata
Assignees
Labels
No labels
