Skip to content

Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.

License

Notifications You must be signed in to change notification settings

ducs/LiveCharts2

Repository files navigation

LiveCharts2

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.

Extremely flexible data visualization library

The following image is a preview, v2.0 is beta now, you can install it from NuGet: beto-rodriguez#35, it support WPF, WinForms, Avalonia, WinUI, UWP and Xamarin for now but MAUI 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...):

lv2

Install and try it fromNuGet

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 (see #145)
LiveChartsCore.SkiaSharpView.WinUI

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 Errors of v0

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.

How Flexible is v2?

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.

Then LiveCharts2 requires SkiaSharp?

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.

About

Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%