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
- Andrei Sushynski asked 7 years ago
- You must login to post comments
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
- Andrii Poliuk answered 7 years ago
-
thanks
- You must login to post comments
Please login first to submit.