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
/// Saves the given chart as a temporary html file and opens it in the browser.
44
+
/// </summary>
45
+
/// <param name="ch">The chart to show in the browser</param>
38
46
[<CompiledName("Show")>]
39
47
static membershow(ch:GenericChart)=
40
48
letguid= Guid.NewGuid().ToString()
@@ -43,7 +51,18 @@ type Chart =
43
51
letpath= Path.Combine(tempPath, file)
44
52
ch |> Chart.saveHtml (path,true)
45
53
46
-
/// Show chart in browser
54
+
/// <summary>
55
+
/// Saves the given chart as a temporary html file containing a static image of the chart and opens it in the browser.
56
+
///
57
+
/// IMPORTANT: this is not the same as static image generation. The file still needs to be opened in the browser to generate the image, as it is done via a js script in the html.
58
+
///
59
+
/// For real programmatic static image export use Plotly.NET.ImageExport (https://www.nuget.org/packages/Plotly.NET.ImageExport/)
60
+
///
61
+
/// This yields basically the same results as using `StaticPlot = true` for the chart's config.
62
+
/// </summary>
63
+
/// <param name="format">The image format for the static chart</param>
64
+
/// <param name="ch">The chart to show in the browser</param>
65
+
[<Obsolete("This function will be dropped in the 2.0 release. It is recommended to either create static plots or use Plotly.NET.ImageExport instead.")>]
0 commit comments