Skip to content

Commit 46c6937

Browse files
authored
Merge pull request #380 from hdavid333/dev-edits-to-GenericChartExtensions-fs
edits to GenericChartExtensions.fs
2 parents ebfd2e3 + 43b1fce commit 46c6937

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Plotly.NET.ImageExport/GenericChartExtensions.fs

Lines changed: 2 additions & 2 deletions
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)