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

Section UI is Frozen on Chart #1533

Open shahadatshakil opened 5 months ago

shahadatshakil commented 5 months ago

Describe the bug After some fast movement on section, it gets frozen. The UI does not update properly

To Reproduce Steps to reproduce the behavior:

  1. Create chart with section.
  2. Move section rapidly for a few seconds.
  3. Section will get frozen.

Expected behavior Section should not freeze regardless of movement speed.

Video https://github.com/beto-rodriguez/LiveCharts2/assets/128153835/da4fddab-776d-4e2c-a7e7-2c9a641bb3ac

Desktop (please complete the following information):

Demo project Sections.zip

beto-rodriguez commented 2 months ago

Thanks for the report, I was able to reproduce, it seems that at some the chart measured something as NAN and causes the section to freeze.

I will keep this open to investigate the exact moment when this occurs.