SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & 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 Stackoverflow.com 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.

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.