Pre loader

Annotation overlapping

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

Hi, guys

Is there something similar like

  • (void)bringSubviewToFront:(UIView *)view;
  • (void)sendSubviewToBack:(UIView *)view;

from UIView but for chart Annotations?

Best regards,
Sushynski Andrei

Version
2.0.0.xxxx
  • You must to post comments
0
0

Good day

I’m sorry, there is no such option. Only way to control annotation overlapping is order in which they are added. But there are limitations.

There are two kinds of annotations: drawn with OpenGL and annotations with elements derived from UIView. UIView-like annotations are placed on top of our OpenGL layer, so they covers all other non UI elements.

For UIView-like annotations you can find property “viewSetup” in style. This is block that accepts UIView as parameter. You can try to call that methods on view there. But they can’t be placed below OpenGL drawn elements which are drawn in one OpenGL layer.

OpenGL drawn annotations have property “annotationSurface” in style. You can set for them “above chart” or “below chart”. To control where they are placed. But again they can’t be placed on top of UIView-like annotations.

Best regards
Andrii
SciChart iOS Developer

  • 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