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

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.