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.25k stars 552 forks source link

Custom Geometry binding to the point ,for control the rotation of geometry #1527

Open TianCaibailei opened 3 months ago

TianCaibailei commented 3 months ago

I’ve been experimenting with the example from this link, but I haven’t been able to achieve the functionality I want. Specifically, I’d like to customize the Geometry, and each Geometry’s rotation angle should be bound to the Y value of the data point. This way, when representing wind or flow direction curves, the custom Geometry can rotate along with the data to indicate the direction. 企业微信截图_20240604084806

Thank you for contributing such a beautiful tool, and I look forward to your response.”

beto-rodriguez commented 5 days ago

Hello and thanks for the issue.

This should be supported, and there should be at least a couple of ways to build this, there is a similar issue where I explain more about this:

https://github.com/beto-rodriguez/LiveCharts2/discussions/1586#discussioncomment-10608662

I will close this for now, but feel free to reply on that thread if there is something I can do to help you.