You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys, this is my first QnA and I just wonder is there any chance to have smooth pan gesture like trading apps with this library?
Before using react-native-skia I use react native svg but it was awful when I do dragging so I change it to this library and when I change to this library it much faster but still I still don't have smooth pan gesture when do dragging the chart and the indicator.
Note: I'm using d3.js to do scaling the height of the candlestick
if you wonder why I don't use Gesture.Pan or useAnimatedGesture handler, I have tried it and it much slower so I change to current code. If you guys can help me, I really appreciate it because this is almost 1 month I only work on this
here's a video of it. in emulator seems pretty good but in real device it don't. also if you asked why your code like this, because at first this is my code in react.js and it work perfectly fine (smooth gesture) and not stutter but when I try to migrate it to react native the performance is not very good.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello guys, this is my first QnA and I just wonder is there any chance to have smooth pan gesture like trading apps with this library?
Before using react-native-skia I use react native svg but it was awful when I do dragging so I change it to this library and when I change to this library it much faster but still I still don't have smooth pan gesture when do dragging the chart and the indicator.
Note: I'm using d3.js to do scaling the height of the candlestick
My code in overall like this
for render candlestick it will be like this
if you wonder why I don't use Gesture.Pan or useAnimatedGesture handler, I have tried it and it much slower so I change to current code. If you guys can help me, I really appreciate it because this is almost 1 month I only work on this
here's a video of it. in emulator seems pretty good but in real device it don't. also if you asked why your code like this, because at first this is my code in react.js and it work perfectly fine (smooth gesture) and not stutter but when I try to migrate it to react native the performance is not very good.
Screen.Recording.2024-12-17.155717.mp4
Beta Was this translation helpful? Give feedback.
All reactions