beto-rodriguez / LiveCharts2

Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere Maui, Uno Platform, Blazor-wasm, WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.
https://livecharts.dev
MIT License
4.39k stars 574 forks source link

Not Working with latest MAUI mobile app. #1506

Closed IsaacHatilima closed 2 months ago

IsaacHatilima commented 6 months ago

Describe the bug I installed the package as instructed using nuget cli, I have the latest version of a maui project.

To Reproduce Steps to reproduce the behavior:

  1. I coppy the code from the website and the ViewModel says The type or namespace name 'SeriesCollection' could not be found (are you missing a using directive or an assembly reference?)

What am I not doing right?

dotMorten commented 4 months ago

@IsaacHatilima are you missing a using directive? SeriesCollection works fine for me.

beto-rodriguez commented 2 months ago

Hi @IsaacHatilima I think that you are using the old library (v0, not available for MAUI), please ensure that you are using v2, you can find the docs here:

https://livecharts.dev/

I will close this for now, but let me know if there is something else I can do to help!