SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
I am using a custom modifier written guided by the example in http://http://www.scichart.com/extending-scichart-with-text-annotations-and-screenshots/
However, I am running mvvm and have an Annotations dependency property in my modifier.
However, when the Annotations property in my viewmodel is changed, the modifier does not redraw itself. I have to do something else, like switch over to another tab and then back again for the new annotations to appear.
Any ideas to how I can get the modifier to draw the new annotations?
Is the Annotations DependencyPropertyChanged callback firing? If so then it sounds like your binding is wired up ok, you just need to trigger a redraw. In a Chart Modifier you can do this by calling
This will cause the chart to redraw itself (All series and annotations). Please let me know if this helps!
Please login first to submit.