xanderdeseyn / react-native-responsive-linechart

A customizable and responsive line or area chart for react-native
https://react-native-responsive-linechart.surge.sh
MIT License
202 stars 46 forks source link

disableGestures also disables tooltip dragging #76

Open tlow92 opened 3 years ago

tlow92 commented 3 years ago

Hi, To my understanding disableTouch is supposed to disable tooltips and disableGestures is supposed to disable the scrolling. When using disableGestures it also disables the dragging of the tooltips, I think this should only be the case when using disableTouch, or we need to add another prop.

Excerpt from documentation:

/** This disables touch for the chart. You can use this if you don't need tooltips. */
disableTouch?: boolean
/** This disables gestures for the chart. You can use this if you don't need scrolling in the chart. */
disableGestures?: boolean