Pre loader

Place an image in the background that is registered

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


I am wondering if you can place a image registered (x0,y0) upper Left and (x1,y1) lower right in the background and have the bmp, jpg, etc… move with the scaling and scrolling of the chart.

current version
  • You must to post comments

Hi Kent,

You can place an image in the background of the chart by using an Annotation. Please see our guide here on creating a CustomAnnotation (X1 Y1 X2 Y2).

My suggestion is to template the BoxAnnotation as in the article above to have an Image at its root.

Next, set X0=XAxis.VisibleRange.Min, X1=XAxis.VisibleRange.Max,
Y0=YAxis.VisibleRange.Min, Y1=YAxis.VisibleRange.Max

This will ensure the image is stretched across the entire viewport of the chart. If you zoom or pan the image will move with the chart.

Is that what you are looking for? Or not quite the right behaviour? If you want the image to stay fixed always in the background of the chart, check out Annotation.CoordinateMode = CoordinateMode.Relative. You can read about CoordinateMode here.

Let me know if this helps!

Showing 1 result
Your Answer

Please first to submit.