Skip to content

Commit 43b1fce

Browse files
committed
edits to GenericChartExtensions.fs
1 parent ebfd2e3 commit 43b1fce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/Plotly.NET.ImageExport/GenericChartExtensions.fs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module GenericChartExtensions =
1818
/// <param name="EngineType"></param>
1919
/// <param name="Width"></param>
2020
/// <param name="Height"></param>
21-
[<CompiledName("ToBase64JPGString")>]
21+
[<CompiledName("ToBase64JPGStringAsync")>]
2222
[<Extension>]
2323
member this.ToBase64JPGStringAsync
2424
(
@@ -132,7 +132,7 @@ module GenericChartExtensions =
132132
[<Optional; DefaultParameterValue(null)>] ?Width: int,
133133
[<Optional; DefaultParameterValue(null)>] ?Height: int
134134
) =
135-
this |> Chart.savePNG (path, ?EngineType = EngineType, ?Width = Width, ?Height = Height)
135+
this |> Chart.savePNGAsync (path, ?EngineType = EngineType, ?Width = Width, ?Height = Height)
136136

137137
/// <summary>
138138
/// Saves the GenericChart as PNG image

0 commit comments

Comments
 (0)