You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -173,7 +173,7 @@ If you wish to optimize loading `plotly.js` in a different way, please check bot
173
173
174
174
### Plotly Via CDN Module
175
175
176
-
If you want to load `plotly.js`[from a CDN](https://github.com/plotly/plotly.js#use-the-plotlyjs-cdn-hosted-by-fastly), use the `PlotlyViaCDNModule` and set on the `PlotlyViaCDNModule.plotlyVersion` property the plotly.js's version you want to use:
176
+
If you want to load `plotly.js`[from a CDN](https://github.com/plotly/plotly.js#use-the-plotlyjs-cdn-hosted-by-fastly), use the `PlotlyViaCDNModule` and set on the `PlotlyViaCDNModule.plotlyVersion` property the plotly.js's version you want to use and, optionally, you can also set on the `PlotlyViaCDNModule.plotlyBundle` property the plotly.js's build you want to use:
177
177
178
178
```typescript
179
179
import { NgModule } from'@angular/core';
@@ -183,6 +183,7 @@ import { PlotlyViaCDNModule } from 'angular-plotly.js';
183
183
184
184
185
185
PlotlyViaCDNModule.plotlyVersion='1.5.0'; // can be `latest` or any version number (i.e.: '1.4.3')
186
+
PlotlyViaCDNModule.plotlyBundle='basic'; // optional: can be null (for full) or 'basic', 'cartesian', 'geo', 'gl3d', 'gl2d', 'mapbox' or 'finance'
0 commit comments