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 573 forks source link

Multiple series axes appears in the chart #1666

Closed jhomhegge closed 3 weeks ago

jhomhegge commented 1 month ago

Describe the bug Multiple series axes visible in the chart. See the bottom chart in the screen shot. This will then be stuck and never go away. Cannot find any way to get rid of it.

To Reproduce I have an WPF (.net 6) app with two charts in multiple tabs. To reproduce I do like this:

  1. Start the application
  2. Change tab to another with the same type of charts
  3. Change back to the first tab
  4. Resize the window
  5. Then the inner axes appear. See screenshot.

Expected behavior There should be no secondary axes stuck on the chart.

Screenshots image

Desktop (please complete the following information):

Additional context The same effect shows in all tabs. Usually only in the bottom chart but sometimes in the above too. In each chart there are four line series.

beto-rodriguez commented 1 month ago

Hi, can you try updating to rc4.5 and verify if the issue still there?

jhomhegge commented 3 weeks ago

Seems to be working in rc4.5. Thanks!

beto-rodriguez commented 3 weeks ago

Glad to read that!