From 43b1fcea330460c2ee19ad20f4fca99edfb4beb6 Mon Sep 17 00:00:00 2001 From: David Handschke Date: Mon, 27 Mar 2023 11:34:33 -0500 Subject: [PATCH] edits to GenericChartExtensions.fs --- src/Plotly.NET.ImageExport/GenericChartExtensions.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plotly.NET.ImageExport/GenericChartExtensions.fs b/src/Plotly.NET.ImageExport/GenericChartExtensions.fs index 182f0175c..a28eb1906 100644 --- a/src/Plotly.NET.ImageExport/GenericChartExtensions.fs +++ b/src/Plotly.NET.ImageExport/GenericChartExtensions.fs @@ -18,7 +18,7 @@ module GenericChartExtensions = /// /// /// - [] + [] [] member this.ToBase64JPGStringAsync ( @@ -132,7 +132,7 @@ module GenericChartExtensions = [] ?Width: int, [] ?Height: int ) = - this |> Chart.savePNG (path, ?EngineType = EngineType, ?Width = Width, ?Height = Height) + this |> Chart.savePNGAsync (path, ?EngineType = EngineType, ?Width = Width, ?Height = Height) /// /// Saves the GenericChart as PNG image