From 5d7e90ff9af301a7920646af0b0500bd7373a3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Farzat?= Date: Sun, 3 Feb 2019 21:25:27 -0200 Subject: [PATCH 1/3] trying to improve PlotlyViaWindowModule docs --- README.md | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9d1046c..0b3d059 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,8 @@ For a full description of Plotly chart types and attributes see the following re * [Plotly JavaScript API documentation](https://plot.ly/javascript/) * [Full plotly.js attribute listing](https://plot.ly/javascript/reference/) +The `plotly.js` is bundled within the angular code. To avoid this, please read [how to customize the plotlyjs bundle](#customizing-the-plotlyjs-bundle) below. + ## API Reference ### Basic Props @@ -172,7 +174,29 @@ export class AppModule { } ### Plotly Via Window Module -If you want to use a [different precompiled bundle](https://github.com/plotly/plotly.js/blob/master/dist/README.md#partial-bundles) or if you wish to [assemble you own customized bundle](https://github.com/plotly/plotly.js#modules), you can use `PlotlyViaWindowModule` to force the use of `window.Plotly` object. You can add the script via tag `