SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

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 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.


Hi there,

I created a simple map application. The map itself is displayed as a custom annotation (image) below the chart. The problem is, I can’t zoom into the custom annotation (map). The map will keep it’s original dimensions when zoomed. Is there a way to zoom in/out a custom annotation?


  • You must to post comments
Best Answer

I think I know what you want Tim.

You have placed a custom annotation that covers a certain area, then want to zoom in/out of the chart our using our ChartModifiers, but you want some notification of the size of the annotation so that you can scale an image (such as a map tile).

I guess, one way to do this, is listen to Axis.VisibleRangeChanged (or SciChartSurface.Rendered) and then query the ActualWidth, ActualHeight of the custom annotation. You will then need to update the Image.Source of the annotation with a new image.

One caveat: UIElements in WPF (annotations are UIElements) have a maximum width, height. If you go over this, you risk a crash in WPF itself. A better way to handle this is by compositing map tiles or images onto a bitmap.

I’m going to email you to discuss more as it sounds interesting! 🙂


  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.