SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
I have a scichart and bound to its VM class. Inside this VM there is a Highlights property.
On the MainWindow, I am placing two of this charts with their own VM instance.
The problem is that when the Annotations is bound, it is only drawn on the last chart as shown in the image.
If I manually code in xaml the annotations (no binding) then the annotations are drawn in both charts.
How can I make it work with the binding?
Found my problem. I was sharing the same VM. For some reason this two charts cannot be bound to the same AnnotationCollection instance.
The problem was solved by creating their own instances. The annotations inside the AnnotationCollection also had to be unique.
Please login first to submit.