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.37k stars 569 forks source link

ToolTip and Legend GeometryStrokes and GeometryFill not updating correctly in b701 #913

Closed danielgruethling closed 1 year ago

danielgruethling commented 1 year ago

Describe the bug I have used XAML binding to bind a ColorPicker to a property which changes Stroke, GeometryStroke and GeometryFill when the selected color changes. The Stroke and Geometry properties for my LineSeries update properly but the GeometryStroke and GeometryFill presented in the ToolTip and Legend do not. The legend updates once I make the LineSeries invisible for some time and turn it back to visible. The ToolTip does not update at all.

To Reproduce Steps to reproduce the behavior:

  1. Compile the included project. LVC_Testproject.zip
  2. Start the application.
  3. Change the color from the ColorPicker.
  4. See behaviour described above.

Expected behavior ToolTip and Legend geometries should update properly like the LineSeries does.

Screenshots

Application start: grafik

Change color and observe only line color changes: grafik

Make series invisible: grafik

Make it visible again and observe Legend updated but ToolTip did not: grafik

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context This used to work back in b516 iirc. This broke with a lot of other things in b700. I'll probably have to roll back to an older version because so many things are currently broken.

danielgruethling commented 1 year ago

Issue can be reproduced in b710 as well.

beto-rodriguez commented 1 year ago

Thanks for the report and the sample., it seems that this issue is already fixed in the current dev branch, this will be fixed in the next version of the library, I will close this for now, thanks again! sss

rocinn commented 1 month ago

Thanks for the report and the sample., it seems that this issue is already fixed in the current dev branch, this will be fixed in the next version of the library, I will close this for now, thanks again!

Which version has fixed this issue? I am currently using LiveChartsCore.SkiaSharpView.Avalonia version 2.0.0-rc3, and I am still experiencing this problem.

Clip_2024-10-09_12-00-48

beto-rodriguez commented 1 month ago

See https://github.com/beto-rodriguez/LiveCharts2/discussions/1507 for the answer.

rocinn commented 1 month ago

Thanks for the report and the sample., it seems that this issue is already fixed in the current dev branch, this will be fixed in the next version of the library, I will close this for now, thanks again!

Which version has fixed this issue? I am currently using LiveChartsCore.SkiaSharpView.Avalonia version 2.0.0-rc3, and I am still experiencing this problem.

see https://github.com/beto-rodriguez/LiveCharts2/discussions/1632