diff --git a/src/LiveChartsCore.Behaviours/ChartBehaviour.Android.cs b/src/LiveChartsCore.Behaviours/ChartBehaviour.Android.cs index a324dcc2d..c025d3e87 100644 --- a/src/LiveChartsCore.Behaviours/ChartBehaviour.Android.cs +++ b/src/LiveChartsCore.Behaviours/ChartBehaviour.Android.cs @@ -45,7 +45,7 @@ protected void OnAndroidHover(object? sender, View.HoverEventArgs e) if (e.Event is null) return; var p = new LvcPoint(e.Event.GetX() / Density, e.Event.GetY() / Density); - Moved!.Invoke(sender, new(p, e.Event)); + Moved?.Invoke(sender, new(p, e.Event)); } protected void OnAndroidTouched(object? sender, View.TouchEventArgs e) @@ -115,9 +115,9 @@ private class CustomScaleListener : ScaleGestureDetector.SimpleOnScaleGestureLis { private readonly Action _onScaled; - public CustomScaleListener(Action onSacaled) + public CustomScaleListener(Action onScaled) { - _onScaled = onSacaled; + _onScaled = onScaled; } public bool Paused { get; set; } diff --git a/src/LiveChartsCore.Behaviours/ChartBehaviour.MacCatalyst.cs b/src/LiveChartsCore.Behaviours/ChartBehaviour.MacCatalyst.cs index dbf5b8e57..c60ed9e95 100644 --- a/src/LiveChartsCore.Behaviours/ChartBehaviour.MacCatalyst.cs +++ b/src/LiveChartsCore.Behaviours/ChartBehaviour.MacCatalyst.cs @@ -44,7 +44,7 @@ protected UIHoverGestureRecognizer GetMacCatalystHover(UIView view) { case UIGestureRecognizerState.Changed: var p = e.LocationInView(view); - Moved!.Invoke(view, new(new(p.X, p.Y), e)); + Moved?.Invoke(view, new(new(p.X, p.Y), e)); break; case UIGestureRecognizerState.Cancelled: case UIGestureRecognizerState.Failed: @@ -134,7 +134,7 @@ protected UIPanGestureRecognizer GetMacCatalystOnPan(UIView view) _last ??= l; var delta = _last.Value.Y - l.Y; var isZoom = e.NumberOfTouches == 0; - var tolerance = 5; // just a fator to avoid multiple calls. + var tolerance = 5; // just a factor to avoid multiple calls. if (e.State == UIGestureRecognizerState.Ended || !isZoom || Math.Abs(delta) < tolerance) return; Scrolled?.Invoke(view, new(new(l.X, l.Y), delta, e)); diff --git a/src/LiveChartsCore.Behaviours/ChartBehaviour.Windows.cs b/src/LiveChartsCore.Behaviours/ChartBehaviour.Windows.cs index eb0aaf14a..18c51f016 100644 --- a/src/LiveChartsCore.Behaviours/ChartBehaviour.Windows.cs +++ b/src/LiveChartsCore.Behaviours/ChartBehaviour.Windows.cs @@ -37,7 +37,7 @@ protected void OnWindowsPointerPressed(object sender, PointerRoutedEventArgs e) var p = e.GetCurrentPoint(sender as UIElement); if (p is null) return; - Pressed!.Invoke( + Pressed?.Invoke( sender, new(new(p.Position.X, p.Position.Y), p.Properties.IsRightButtonPressed, e)); } @@ -47,7 +47,7 @@ protected void OnWindowsPointerMoved(object sender, PointerRoutedEventArgs e) var p = e.GetCurrentPoint(sender as UIElement); if (p is null) return; - Moved!.Invoke( + Moved?.Invoke( sender, new(new(p.Position.X, p.Position.Y), e)); } @@ -57,7 +57,7 @@ protected void OnWindowsPointerReleased(object sender, PointerRoutedEventArgs e) var p = e.GetCurrentPoint(sender as UIElement); if (p is null) return; - Released!.Invoke( + Released?.Invoke( sender, new(new(p.Position.X, p.Position.Y), p.Properties.IsRightButtonPressed, e)); } @@ -65,7 +65,7 @@ protected void OnWindowsPointerReleased(object sender, PointerRoutedEventArgs e) protected void OnWindowsPointerWheelChanged(object sender, PointerRoutedEventArgs e) { var p = e.GetCurrentPoint(sender as UIElement); - Scrolled!.Invoke(sender, new(new(p.Position.X, p.Position.Y), p.Properties.MouseWheelDelta, e)); + Scrolled?.Invoke(sender, new(new(p.Position.X, p.Position.Y), p.Properties.MouseWheelDelta, e)); } protected void OnWindowsPointerExited(object sender, PointerRoutedEventArgs e) diff --git a/src/LiveChartsCore.Behaviours/LiveChartsCore.Behaviours.csproj b/src/LiveChartsCore.Behaviours/LiveChartsCore.Behaviours.csproj index c4a21423e..4eb94eac8 100644 --- a/src/LiveChartsCore.Behaviours/LiveChartsCore.Behaviours.csproj +++ b/src/LiveChartsCore.Behaviours/LiveChartsCore.Behaviours.csproj @@ -14,7 +14,7 @@ LiveChartsCore.Behaviours LiveChartsCore.Behaviours - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Adds user interaction for touch screens, touch pads and mouse. MIT diff --git a/src/LiveChartsCore/LiveChartsCore.csproj b/src/LiveChartsCore/LiveChartsCore.csproj index 1b55049fc..27088ce6d 100644 --- a/src/LiveChartsCore/LiveChartsCore.csproj +++ b/src/LiveChartsCore/LiveChartsCore.csproj @@ -17,7 +17,7 @@ LiveChartsCore LiveChartsCore - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for .Net, this is the core package probably you need another package also unless you are building your own backed. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharp.Avalonia/LiveChartsCore.SkiaSharpView.Avalonia.csproj b/src/skiasharp/LiveChartsCore.SkiaSharp.Avalonia/LiveChartsCore.SkiaSharpView.Avalonia.csproj index 4c41add9d..1da5541ab 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharp.Avalonia/LiveChartsCore.SkiaSharpView.Avalonia.csproj +++ b/src/skiasharp/LiveChartsCore.SkiaSharp.Avalonia/LiveChartsCore.SkiaSharpView.Avalonia.csproj @@ -6,7 +6,7 @@ netcoreapp2.0;netstandard2.0;net462;net6.0 LiveChartsCore.SkiaSharpView.Avalonia LiveChartsCore.SkiaSharpView.Avalonia - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for AvaloniaUI. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharp.WPF/LiveChartsCore.SkiaSharpView.WPF.csproj b/src/skiasharp/LiveChartsCore.SkiaSharp.WPF/LiveChartsCore.SkiaSharpView.WPF.csproj index edabebb38..e5216125f 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharp.WPF/LiveChartsCore.SkiaSharpView.WPF.csproj +++ b/src/skiasharp/LiveChartsCore.SkiaSharp.WPF/LiveChartsCore.SkiaSharpView.WPF.csproj @@ -7,7 +7,7 @@ net462;netcoreapp3.1 LiveChartsCore.SkiaSharpView.WPF LiveChartsCore.SkiaSharpView.WPF - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for WPF. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharp.WinForms/LiveChartsCore.SkiaSharpView.WinForms.csproj b/src/skiasharp/LiveChartsCore.SkiaSharp.WinForms/LiveChartsCore.SkiaSharpView.WinForms.csproj index 25a318d91..3280534aa 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharp.WinForms/LiveChartsCore.SkiaSharpView.WinForms.csproj +++ b/src/skiasharp/LiveChartsCore.SkiaSharp.WinForms/LiveChartsCore.SkiaSharpView.WinForms.csproj @@ -9,7 +9,7 @@ net462;netcoreapp3.1 LiveChartsCore.SkiaSharpView.WinForms LiveChartsCore.SkiaSharpView.WinForms - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for WindowsForms. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharp.Xamarin.Forms/LiveChartsCore.SkiaSharpView.Xamarin.Forms.csproj b/src/skiasharp/LiveChartsCore.SkiaSharp.Xamarin.Forms/LiveChartsCore.SkiaSharpView.Xamarin.Forms.csproj index 276b72d4a..b3a415493 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharp.Xamarin.Forms/LiveChartsCore.SkiaSharpView.Xamarin.Forms.csproj +++ b/src/skiasharp/LiveChartsCore.SkiaSharp.Xamarin.Forms/LiveChartsCore.SkiaSharpView.Xamarin.Forms.csproj @@ -6,7 +6,7 @@ netstandard2.0; LiveChartsCore.SkiaSharpView.XamarinForms LiveChartsCore.SkiaSharpView.XamarinForms - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for XamarinForms. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharp/LiveChartsCore.SkiaSharpView.csproj b/src/skiasharp/LiveChartsCore.SkiaSharp/LiveChartsCore.SkiaSharpView.csproj index d3a202996..18732a3f9 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharp/LiveChartsCore.SkiaSharpView.csproj +++ b/src/skiasharp/LiveChartsCore.SkiaSharp/LiveChartsCore.SkiaSharpView.csproj @@ -17,7 +17,7 @@ LiveChartsCore.SkiaSharpView LiveChartsCore.SkiaSharpView - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for .Net, this package contains the SkiaSharp backend. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.Blazor/LiveChartsCore.SkiaSharpView.Blazor.csproj b/src/skiasharp/LiveChartsCore.SkiaSharpView.Blazor/LiveChartsCore.SkiaSharpView.Blazor.csproj index b4b593db5..c09ea73fb 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.Blazor/LiveChartsCore.SkiaSharpView.Blazor.csproj +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.Blazor/LiveChartsCore.SkiaSharpView.Blazor.csproj @@ -17,7 +17,7 @@ net6.0 enable enable - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for Blazor. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.Eto/LiveChartsCore.SkiaSharpView.Eto.csproj b/src/skiasharp/LiveChartsCore.SkiaSharpView.Eto/LiveChartsCore.SkiaSharpView.Eto.csproj index 7cb1d4c62..f43ea487a 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.Eto/LiveChartsCore.SkiaSharpView.Eto.csproj +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.Eto/LiveChartsCore.SkiaSharpView.Eto.csproj @@ -7,7 +7,7 @@ netstandard2.0 LiveChartsCore.SkiaSharpView.Eto LiveChartsCore.SkiaSharpView.Eto - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for Eto.Forms. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/LiveChartsCore.SkiaSharpView.Maui.csproj b/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/LiveChartsCore.SkiaSharpView.Maui.csproj index a2fddb185..bf1c469c2 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/LiveChartsCore.SkiaSharpView.Maui.csproj +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/LiveChartsCore.SkiaSharpView.Maui.csproj @@ -15,7 +15,7 @@ 10.0.17763.0 6.5 - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for Maui. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/LiveChartsCore.SkiaSharpView.Maui.nuspec b/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/LiveChartsCore.SkiaSharpView.Maui.nuspec index c91ab9759..9f3613124 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/LiveChartsCore.SkiaSharpView.Maui.nuspec +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.Maui/LiveChartsCore.SkiaSharpView.Maui.nuspec @@ -2,7 +2,7 @@ LiveChartsCore.SkiaSharpView.Maui - 2.0.0-rc1.1 + 2.0.0-rc1.2 LiveChartsCore.SkiaSharpView.Maui BetoRodriguez true @@ -17,23 +17,23 @@ - + - + - + - + - + diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno.WinUI/LiveChartsCore.SkiaSharpView.Uno.WinUI.csproj b/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno.WinUI/LiveChartsCore.SkiaSharpView.Uno.WinUI.csproj index 062f81a4f..ce570fc87 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno.WinUI/LiveChartsCore.SkiaSharpView.Uno.WinUI.csproj +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno.WinUI/LiveChartsCore.SkiaSharpView.Uno.WinUI.csproj @@ -7,7 +7,7 @@ enable 11.0 - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for Uno.WinUI. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.Android.cs b/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.Android.cs index 21383a463..30fb379cb 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.Android.cs +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.Android.cs @@ -44,7 +44,7 @@ protected void OnAndroidHover(object? sender, View.HoverEventArgs e) if (e.Event is null) return; var p = new LvcPoint(e.Event.GetX() / Density, e.Event.GetY() / Density); - Moved!.Invoke(sender, new(p, e.Event)); + Moved?.Invoke(sender, new(p, e.Event)); } protected void OnAndroidTouched(object? sender, View.TouchEventArgs e) diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.MacCatalyst.cs b/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.MacCatalyst.cs index d8e110332..5f0c12a13 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.MacCatalyst.cs +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.MacCatalyst.cs @@ -43,7 +43,7 @@ protected UIHoverGestureRecognizer GetMacCatalystHover(UIView view) { case UIGestureRecognizerState.Changed: var p = e.LocationInView(view); - Moved!.Invoke(view, new(new(p.X, p.Y), e)); + Moved?.Invoke(view, new(new(p.X, p.Y), e)); break; case UIGestureRecognizerState.Cancelled: case UIGestureRecognizerState.Failed: diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.Windows.cs b/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.Windows.cs index 6cfcb3b68..b90e64e3e 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.Windows.cs +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/Behaviours/ChartBehaviour.Windows.cs @@ -37,7 +37,7 @@ protected void OnWindowsPointerPressed(object sender, PointerRoutedEventArgs e) var p = e.GetCurrentPoint(sender as UIElement); if (p is null) return; - Pressed!.Invoke( + Pressed?.Invoke( sender, new(new(p.Position.X, p.Position.Y), p.Properties.IsRightButtonPressed, e)); } @@ -47,7 +47,7 @@ protected void OnWindowsPointerMoved(object sender, PointerRoutedEventArgs e) var p = e.GetCurrentPoint(sender as UIElement); if (p is null) return; - Moved!.Invoke( + Moved?.Invoke( sender, new(new(p.Position.X, p.Position.Y), e)); } @@ -57,7 +57,7 @@ protected void OnWindowsPointerReleased(object sender, PointerRoutedEventArgs e) var p = e.GetCurrentPoint(sender as UIElement); if (p is null) return; - Released!.Invoke( + Released?.Invoke( sender, new(new(p.Position.X, p.Position.Y), p.Properties.IsRightButtonPressed, e)); } @@ -65,7 +65,7 @@ protected void OnWindowsPointerReleased(object sender, PointerRoutedEventArgs e) protected void OnWindowsPointerWheelChanged(object sender, PointerRoutedEventArgs e) { var p = e.GetCurrentPoint(sender as UIElement); - Scrolled!.Invoke(sender, new(new(p.Position.X, p.Position.Y), p.Properties.MouseWheelDelta, e)); + Scrolled?.Invoke(sender, new(new(p.Position.X, p.Position.Y), p.Properties.MouseWheelDelta, e)); } protected void OnWindowsPointerExited(object sender, PointerRoutedEventArgs e) diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/LiveChartsCore.SkiaSharpView.Uno.csproj b/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/LiveChartsCore.SkiaSharpView.Uno.csproj index f0ff531cb..126f9516b 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/LiveChartsCore.SkiaSharpView.Uno.csproj +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.Uno/LiveChartsCore.SkiaSharpView.Uno.csproj @@ -17,7 +17,7 @@ enable 11.0 - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for Uno. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.WinUI/LiveChartsCore.SkiaSharpView.WinUI.csproj b/src/skiasharp/LiveChartsCore.SkiaSharpView.WinUI/LiveChartsCore.SkiaSharpView.WinUI.csproj index bc3b89e6c..54ba26239 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.WinUI/LiveChartsCore.SkiaSharpView.WinUI.csproj +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.WinUI/LiveChartsCore.SkiaSharpView.WinUI.csproj @@ -9,7 +9,7 @@ win10-x86;win10-x64;win10-arm64 true - 2.0.0-rc1.1 + 2.0.0-rc1.2 icon.png Simple, flexible, interactive and powerful data visualization for WindowsAppSDK. MIT diff --git a/src/skiasharp/LiveChartsCore.SkiaSharpView.WinUI/LiveChartsCore.SkiaSharpView.WinUI.nuspec b/src/skiasharp/LiveChartsCore.SkiaSharpView.WinUI/LiveChartsCore.SkiaSharpView.WinUI.nuspec index 02528c990..fcfbc897f 100644 --- a/src/skiasharp/LiveChartsCore.SkiaSharpView.WinUI/LiveChartsCore.SkiaSharpView.WinUI.nuspec +++ b/src/skiasharp/LiveChartsCore.SkiaSharpView.WinUI/LiveChartsCore.SkiaSharpView.WinUI.nuspec @@ -2,7 +2,7 @@ LiveChartsCore.SkiaSharpView.WinUI - 2.0.0-rc1.1 + 2.0.0-rc1.2 LiveChartsCore.SkiaSharpView.WinUI BetoRodriguez true @@ -18,8 +18,8 @@ - - + +