SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
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.
I have an issue regarding to SCIAxisMarkerAnnotation that I could not find. Can I customise the look of it or should I implement my own axis marker? And can I add another pan gesture to annotation pin so the user can change annotation location on that axis?
It depends on what customization you require.
Take a look at SCIAxisMarkerAnnotationStyle (it can be accessed as property on SCIAxisMarkerAnnotation)
There are most of customization options (fonts, colors and so on)
If you need to change Label formatting there are two options:
1) Set SCIAxisCore cursor text formatting for axis to which annotation is bound. But it will influence all annotations and modifiers that use axis text format https://www.scichart.com/documentation/ios/v1.x/api/interface_s_c_i_axis_core.html#af6a3b1c6c46defa5091d6ba6184aa6af
2) You can subclass and override method “formatValue:” in SCIAxisMarkerAnnotation. It takes value as parameter and returns string that will be displayed in annotation
Regarding pan gesture
Gesture handlers are not implemented for axis marker annotation at the moment. We will consider adding it, but you can implement it with subclassing. You will need to override “onPanGesture:At:”. It can be a little complicated, so if you decide to override method I will provide further information how to do it correctly.
SciChart iOS Developer
Please login first to submit.