-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could I custom callback to this smart chart? #58
Comments
any idea? |
Hi @L-Jovi it's currently note implemented, but the way to do this is by passing native events to javascript and in, let's say the Scatter Chart component, the callback would be called with the values. I haven't had time to work on this, but if anyone wants to take a shot at it, I'd recommend starting from here https://facebook.github.io/react-native/docs/communication-ios.html#calling-react-native-functions-from-native-events and here https://facebook.github.io/react-native/docs/native-components-ios.html#events . |
@Jpadilla1 thanks for your reply, I'll try it. |
Any updates on this? |
hi, thanks for your smart chart in react-native js side, it's cool and convenient.
I want to get x axis and y axis value when I interact with chart component, I notice that native Android implements almost all event type while iOS also implement part of some,
but I can't find any bridge which defined in our component swift code, maybe I'm missing, how could I custom callback here?
thanks for your time.
The text was updated successfully, but these errors were encountered: