Binding for ScrollbarChart? #45
Unanswered
houstonhaynes
asked this question in
Q&A
Replies: 1 comment 10 replies
-
What is it supposed to do? Or which properties are not updating properly? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm essentially trying to build something like this.
It's been a bit touchy getting things to show up as expected. It's a real stretch for me but I figured it would be a way to get my head wrapped around MVVM to MVU "logic" as well as bang my head against Avalonia a bit. I hacked my way into the current state and then started asking GitHub Copilot for help, with unfortunately expected results. Right now it seems that there's an issue where an event is raised before the View is fully initialized. As I "leave" and return to the view then the MVU loop seems to trigger as expected (using the trusty old console log method). I figured if I could get the view to load into a good/complete state then I can continue troubleshooting.
Here's a quick video of the behavior I'm seeing. I'm not shocked that it's this "weird" in behavior but I'm out of ideas on how to get things to 'connect' more consistently. Here's a gist of the current View and ViewModel. Thanks for giving it a once-over!
Screen.Recording.2024-01-01.at.6.24.21.PM.mov
Beta Was this translation helpful? Give feedback.
All reactions