同步操作将从 电子DIY工作坊/LiveCharts2 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
LiveCharts2 (v2) is the evolution of LiveCharts (v0), it fixes the main design issues of its predecessor, it's focused to run everywhere, improves flexibility without losing what we already had in v0.
The following image is a preview, v2.0
is beta now, you can install it from NuGet: https://github.com/beto-rodriguez/LiveCharts2/issues/35, it support WPF, WinForms, Avalonia, WinUI, UWP, Xamarin and Blazor Wasm for now but MAUI (#279) will also be supported.
here is a preview (1.4MB gif, wait for it to load if you see a blank space bellow this text...):
In Visual Studio go to the Solution Explorer
then right click on Dependencies
then Manage NuGet Packages
, enable the "Include prerelease" checkbox and in the browse tab search for the view of your target platform:
LiveChartsCore.SkiaSharpView.WPF
LiveChartsCore.SkiaSharpView.WinForms
LiveChartsCore.SkiaSharpView.Avalonia
LiveChartsCore.SkiaSharpView.XamarinForms
LiveChartsCore.SkiaSharpView.UWP
LiveChartsCore.SkiaSharpView.WinUI
LiveChartsCore.SkiaSharpView.Blazor
You can also use LiveCharts 2 on a console app or on the server side installing only the core packages, and using the ISkiaSharpChart
objects (see this sample).
LiveChartsCore.SkiaSharpView
The new web site will be publish soon with a collection of samples using v2
, at this moment you can browse the samples folder in this repo.
V0 is built on top of WPF, this has many problems, WPF is not designed for the purposes of the library, it is always tricky to find a solution for the problems of the library.
When we were on v0 and tried to take the library to UWP, we noticed it required a huge effort with the architecture the library had in v0. V2 is designed to work on multiple platforms, it requires minimal effort to take the library to a new platform.
Not necessarily, The SkiaAPI makes it much easier to take the library everywhere, but that does not means that LiveCharts2 requires it to work we could easily move to any other drawing engine.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。