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: src/Plotly.NET/ChartAPI/Chart.fs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3304,21 +3304,21 @@ type Chart =
3304
3304
/// </summary>
3305
3305
/// <param name="AdditionalHeadTags">Additional tags that will be included in the document's head </param>
3306
3306
/// <param name="Description">HTML tags that appear below the chart in HTML docs</param>
3307
-
/// <param name="PlotlyCDN">The PlotlyCDN address used in html docs</param>
3307
+
/// <param name="PlotlyJSReference">Sets how plotly is referenced in the head of html docs. When CDN, a script tag that references the plotly.js CDN is included in the output. When Full, a script tag containing the plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline</param>
Copy file name to clipboardExpand all lines: src/Plotly.NET/DisplayOptions/DisplayOptions.fs
+23-11Lines changed: 23 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,18 @@ open DynamicObj
4
4
openSystem.Runtime.InteropServices
5
5
openGiraffe.ViewEngine
6
6
7
+
8
+
///Sets how plotly is referenced in the head of html docs.
9
+
typePlotlyJSReference=
10
+
/// The url for a script tag that references the plotly.js CDN When
11
+
| CDN ofstring
12
+
/// Full plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline
13
+
| Full
14
+
/// Use requirejs to reference plotlyjs from a url
15
+
| Require ofstring
16
+
//include no plotlyjs script at all. This can be helpfull when embedding the output into a document that already references plotly.
17
+
| NoReference
18
+
7
19
typeDisplayOptions()=
8
20
inherit DynamicObj()
9
21
@@ -12,35 +24,35 @@ type DisplayOptions() =
12
24
/// </summary>
13
25
/// <param name="AdditionalHeadTags">Additional tags that will be included in the document's head </param>
14
26
/// <param name="Description">HTML tags that appear below the chart in HTML docs</param>
15
-
/// <param name="PlotlyCDN">The PlotlyCDN address used in html docs</param>
27
+
/// <param name="PlotlyJSReference">Sets how plotly is referenced in the head of html docs. When CDN, a script tag that references the plotly.js CDN is included in the output. When Full, a script tag containing the plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline</param>
/// Returns a function sthat applies the given styles to a DisplayOptions object
30
42
/// </summary>
31
43
/// <param name="AdditionalHeadTags">Additional tags that will be included in the document's head </param>
32
44
/// <param name="Description">HTML tags that appear below the chart in HTML docs</param>
33
-
/// <param name="PlotlyCDN">The PlotlyCDN address used in html docs</param>
45
+
/// <param name="PlotlyJSReference">Sets how plotly is referenced in the head of html docs. When CDN, a script tag that references the plotly.js CDN is included in the output. When Full, a script tag containing the plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline</param>
0 commit comments