arniu / react-native-sparkline

An ART-based sparkline component for react-native
MIT License
19 stars 7 forks source link

Touch-scrubbing across sparkline #19

Open jdonald opened 6 years ago

jdonald commented 6 years ago

Happy to see this project. There are a number of usable Sparkline web components in React or Polymer, but until now this seems like an area lacking in React Native.

Is there a mechanism for touching the sparkline and highlighting the corresponding point, similar to this React web example with hover-scrubbing: https://codeburst.io/how-i-built-an-interactive-30-day-bitcoin-price-graph-with-react-and-an-api-6fe551c2ab1d https://github.com/bmorelli25/interactive-bitcoin-price-chart https://interactive-bitcoin-price-chart-yenswahhtb.now.sh/

Or as built in to Robinhood's open-source spark library for Android: https://github.com/robinhood/spark

Is such a feature within the scope of this project?

arniu commented 6 years ago

Yes, we'll support this feature in the future.