diff --git a/samples/BlazorSample/Pages/Hello.razor b/samples/BlazorSample/Pages/Hello.razor index 0df18c247..ee6647868 100644 --- a/samples/BlazorSample/Pages/Hello.razor +++ b/samples/BlazorSample/Pages/Hello.razor @@ -60,8 +60,7 @@

LiveCharts provides controls for any UI framework (console and server-side is also supported).
- The minimum requirement for .Net framework is .Net 4.6.2 and is compatible with is compatible - with .NET standard 2.0. + The minimum requirement for .Net framework is .Net 4.6.2 and is compatible with .NET standard 2.0.

diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/MotionCanvas.xaml.cs b/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/MotionCanvas.xaml.cs index a1843c8cb..3c989d658 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/MotionCanvas.xaml.cs +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/MotionCanvas.xaml.cs @@ -60,6 +60,7 @@ public MotionCanvas() skiaElement.PaintSurface += OnCanvasViewPaintSurface; CanvasCore.Invalidated += OnCanvasCoreInvalidated; Unloaded += MotionCanvas_Unloaded; + Loaded += MotionCanvas_Loaded; } /// @@ -169,6 +170,11 @@ private static void PaintTasksChanged(BindableObject bindable, object oldValue, motionCanvas.CanvasCore.SetPaintTasks(tasks); } + private void MotionCanvas_Loaded(object? sender, EventArgs e) + { + _isLoaded = true; + } + private void MotionCanvas_Unloaded(object? sender, EventArgs e) { _isLoaded = false;