This release introduces many new features: adds support for Uno Platform, a new web site, updates Maui to RC2,
adds support for Eto.Forms, improves drastically zooming and panning in touch devices (Uno, Maui and Xamarin).
Welcome Uno Platform
There was a step missing for LiveCharts2 to be a real cross platform library, LiveCharts2 is now in Uno Platform!
The LiveChartsCore.SkiaSharpView.Uno NuGet package provides 'ready-to-go' assemblies for Uno at UWP (10.0.18362), Wasm (net 6), Wpf (net 6), GTK (net 6) and Android (net 6). We keep working in the IOS, MacCatalyst and MacOS flavors.
New web site
You can now visit https://lvcharts.com/ to browse the samples, or to explore the assemblies in this repository.
Both (samples and API explorer) are generated automatically based on this repo, so feel free to create a PR in this repo to improve anything in the documentation.
Huge improvements to touch devices
In previous versions it worked in touch devices but it was using the same logic as desktop platforms, now zooming and panning feels natural in touch devices, you should now notice how the chart follows your fingers as you move the chart and it has also a cool bounce animation when you reach an edge, the following video was recorder in the Xamarin sample, but it is also implemented in Uno (Android) and Maui:
https://user-images.githubusercontent.com/10853349/166186434-083332f4-6138-4438-a221-c74345b11b1f.mp4
Welcome Eto.Forms
Thanks to @rafntor for adding the Eto.Forms View and the samples.
Updated Maui to RC2
Now Maui package is updated and working with RC 2, notice there is an issue in Maui rc2 detecting gestures https://github.com/dotnet/maui/issues/6553.
UWP package is obsolete now
The LiveChartsCore.SkiaSharpView.UWP will no longer receive new updates, instead it was replaced by LiveChartsCore.SkiaSharpView.Uno, just install the Uno package and everything will work as it used to, you also need to rename the namespaces from LiveChartsCore.SkiaSharpView.UWP
to LiveChartsCore.SkiaSharpView.Uno
.
Assemblies are not strong-named anymore
From MS docs and also GitHub:
For .NET Core and .NET 5+, strong-named assemblies do not provide material benefits. The runtime never validates the strong-name signature, nor does it use the strong-name for assembly binding.
Strong named assemblies will not be provided by the library anymore, but when you need strong named assemblies, I added the pack.ps1
file at the root of the repo, this tool helps you to build and pack the assemblies in the library, then it is up to you to strong name them.
Multiple fixed issues.
See the links to the prs bellow.
What's Changed
- Things have changed in the process... just some cleanup by @beto-rodriguez in https://github.com/beto-rodriguez/LiveCharts2/pull/379
- Port to Eto.Forms by @rafntor in https://github.com/beto-rodriguez/LiveCharts2/pull/388
- Improve wording and grammar by @evanknapke in https://github.com/beto-rodriguez/LiveCharts2/pull/398
- Vector manager by @beto-rodriguez in https://github.com/beto-rodriguez/LiveCharts2/pull/408
- Remove map obsoletes by @beto-rodriguez in https://github.com/beto-rodriguez/LiveCharts2/pull/414
- ci by @beto-rodriguez in https://github.com/beto-rodriguez/LiveCharts2/pull/415
- Fix Build issue with Maui by @ChrisPulman in https://github.com/beto-rodriguez/LiveCharts2/pull/433
- Welcome Uno by @beto-rodriguez in https://github.com/beto-rodriguez/LiveCharts2/pull/442
- Fixed LegendBackground color issue and Binding exceptions for conversion to double (Xamarin Forms and Maui) by @vadimffe in https://github.com/beto-rodriguez/LiveCharts2/pull/440
- Multiple minor fixes by @beto-rodriguez in https://github.com/beto-rodriguez/LiveCharts2/pull/446
- Improvements for zooming and panning by @beto-rodriguez in https://github.com/beto-rodriguez/LiveCharts2/pull/447
- Fixed a bug in the axis that could cause an incorrect size of area for the labels if _forceStepToMin is true by @MarcF12 in https://github.com/beto-rodriguez/LiveCharts2/pull/438
- Correct spelling, fix case for domInterop.js by @erichiller in https://github.com/beto-rodriguez/LiveCharts2/pull/427
- Multiple fixes by @beto-rodriguez in https://github.com/beto-rodriguez/LiveCharts2/pull/448
- Cleanup by @beto-rodriguez in https://github.com/beto-rodriguez/LiveCharts2/pull/449
- Fix Persian and Arabic text(label) rendering by @raminmjj in https://github.com/beto-rodriguez/LiveCharts2/pull/421
- Uno.mobile by @beto-rodriguez in https://github.com/beto-rodriguez/LiveCharts2/pull/452
- beta-200 by @beto-rodriguez in https://github.com/beto-rodriguez/LiveCharts2/pull/454
New Contributors
- @rafntor made their first contribution in https://github.com/beto-rodriguez/LiveCharts2/pull/388
- @evanknapke made their first contribution in https://github.com/beto-rodriguez/LiveCharts2/pull/398
- @ChrisPulman made their first contribution in https://github.com/beto-rodriguez/LiveCharts2/pull/433
- @vadimffe made their first contribution in https://github.com/beto-rodriguez/LiveCharts2/pull/440
- @MarcF12 made their first contribution in https://github.com/beto-rodriguez/LiveCharts2/pull/438
- @erichiller made their first contribution in https://github.com/beto-rodriguez/LiveCharts2/pull/427
- @raminmjj made their first contribution in https://github.com/beto-rodriguez/LiveCharts2/pull/421
Full Changelog: https://github.com/beto-rodriguez/LiveCharts2/compare/beta.100...beta.200