Pre loader

Image Annotation

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


We are trying to add an image annotation to a View Model. We have closely followed Tutorial 07b – Adding Annotations with MVVM, as well as the Custom Annotations – Adding a WaterMark to a Chart example, but we are not having luck getting anything to show up.
We would like to have something that allows us to pass in the pathway to an image, and then lets us display it on our chart. Depending on different circumstances, we would want to display different images. Is there an example of this type of image annotation somewhere?
Thank you!

  • You must to post comments

Hi Daisha,

Thanks for your inquiry.
Please take a look at our custom Watermark example:

Is this what you are looking for?

  • Daisha Utley
    Sorry, I may not have explained the problem very clearly. We are completely working on a ViewModel, so the surface is a ViewModel too. Because of this, the surface does not contain members for the following calls in the code example. “Opacity = 0.25, Content = new CustomAnnotationViewModel() { Logo = “SciChartLogo_Dark.png”, Text = “SciChart” }, ContentTemplate = (DataTemplate) chart.Resources[“AnnotationTemplate”]”. I don’t currently have a way to pass the image location in. Is there possibly a working example of this same type of example happening in a ViewModel? Thank you.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

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

Start TrialCase Studies