I’m trying to make a chart with a “toggle function”.
The “toggle function” what i wanted to make is this.
- enter to UIViewController which Chart is in it
- before singleTap on a chart, a chart has zoomPanModifier, XAxisDragModifier,, etc
- after make singleTap on the chart, that chart has only CursorModifier.
- CursorModifier’s UI stays on chart without disappearing and i can move crossed line to specific point i want (just like what CursorModifier originally does)
- another single tap on chart would make a chart to have all other modifiers but CursorModifer.
–
What I have made successfully was 1,2,3,5 . not 4.
The way i was going to solve this problem was make fake touch event on Chart view and
snatch UIGestureRecognizer Event and let ChartView think they’re being touched till I give stop signal
But I heard that there is no more way to pass fake touch to UIView.
So I’m feeling difficulty on this problem…..
is there any easy way to solve this problem?
–
TL;DR;
I WANT TO MAKE CURSORMODIFIER’ UI STAYS ON A CHART!
+)
(lldb) po SciChartVersionNumber
0x3ff0000000000000
(lldb) po SciChartVersionString
0x474f525029232840
I wanted to know what version I’m using.. but i couldn’t know… what version am i using..?
- eunteak koh asked 6 years ago
- last edited 6 years ago
- You must login to post comments
Hello Eunteak.
Unfortunately, ‘toggle’ function isn’t supported for Cursor Modifier in current version of iOS SCIChart framework.
So, at the moment there is no an easy way to implement the behavior you need.
Best Regards,
Andriy.
- Andriy Shkinder answered 5 years ago
- last edited 5 years ago
- You must login to post comments
Please login first to submit.