public static byte[] GetImageData(this IVisualizer visualizer, IDictionary <int, double> results) { var dataUrl = visualizer.GetChart(results).GetAwaiter().GetResult(); return(Convert.FromBase64String(dataUrl.Substring(22))); }
public static byte[] GetImageData(this IVisualizer visualizer, IDictionary <int, double> results) { var dataUrl = visualizer.GetChart(results).GetAwaiter().GetResult(); return(Convert.FromBase64String(dataUrl.Substring(22))); }