Pre loader

1

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

All Answers » Re: [cleaned]Editing annotations and keeping track of them in an mvvm application » Comments for "Re: [cleaned]Editing annotations and keeping track of them in an mvvm application"
  • Lisbeth Skogland
    Hi Andrew Thanks a lot for your model, have spent a little time rewriting to align with that now, and it works great. Except for one minor detail, my annotations are editable and my viewmodels aren't updating as I move them around. The result being them jumping back to their original position as they get rebuilded. How do I handle that? Lisbeth
  • Andrew Burnett-Thompson
    Ok, have you tried a TwoWay binding on X1,Y1,X2,Y2 properties to the viewmodel properties? This *should* theoretically work although we've not testing it - you're the annotation expert now! ;-)
  • Lisbeth Skogland
    Now this was strange... that was about the last thing I tried before posting and it didn't work. Now all of a sudden it does, must have been a rebuild issue of some sort... anyway, looks like I have everything I need now to finish the features then. Thank you so much for your input, you probably saved a lot of hours on this. Lisbeth
  • Andrew Burnett-Thompson
    No problem at all, if we can save our customers a couple of hours then we're doing our jobs & adding value! BTW your example reminded me to create a tutorial on this topic. We're pretty busy at the moment but maybe after things settle down with our next version it could be a good time to do it. So thanks - appreciate jogging my memory! Andrew
  • Abhilash R
    Hi Lisbeth/ Andrew Could you please share your code ? It will be great if you create a tutorial on this topic.
  • Andrew Burnett-Thompson
    Hi Abhilash, unfortunately we don't have source-code for the above, but we do have an (old) tutorial which gives you the general idea and that is here: https://www.scichart.com/databinding-annotations-with-mvvm. Does this help?

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies