Pre loader

Show custom annotation anchored to Left and Bottom position

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

0
0

Hello,

I am trying to Zoom to the contents of the graph. I have a custom annotation that is anchored to the bottom left position. When I zoom into the data contents using the method ViewPortManager.AnimateZoomExtents(), the top of the annotation gets cut of, but it shows the anchor point. Is there a way I can show the entire custom annotation when zooming or is there a way to get the top right coordinate position of the custom annotation?

Kind regards

Version
6.6.0.26505
Images
  • You must to post comments
0
0

Hi Bridgette,

Thanks for your inquiry.
You can use relative coordinates to keep the Annotation on the surface while zooming.
For example, to keep the Y-position of the annotation you could set the “CoordinateMode” property to “RelativeY” and then set the Y coordinates in the range of 0.0 … 1.0, meaning the Height percentage of the SciChartSurface.

More information can be found in our “Annotations API” documentation here:
SciChart WPF Documentation – Intro to the Annotations API _ WPF Chart Documentation

Please let me know if this helps.

Kind regards,
Lex,
SciChart Technical Support Engineer

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.