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.38k stars 572 forks source link

Allow empty lists for AngleAxes Property #1683

Closed trashhacker closed 2 weeks ago

trashhacker commented 3 weeks ago

is it possible to allow empty collections for AngleAxis property.

Im generating the live charts data on demand cant initiate it with values before user action...

beto-rodriguez commented 3 weeks ago

Why don't you you set an empty collection while the user set their axes?

trashhacker commented 3 weeks ago

ah yea couse i have to do workarounds ^^ would be easier to use without this behavior

beto-rodriguez commented 3 weeks ago

It's not a workaround, it is required at least an axis for any chart to scale, the code is based on math, an axis is required to scale things.