[Feature request] Ability to specify `minDurationMs` for LineChartCursor gesture handler
Gordeev1 opened this issue · 6 comments
Gordeev1 commented
Thank you for the amazing library.
It would be quite useful to be able to override gesture handler config of LineChartCursor
from LineChart.CursorLine
<LineChart.CursorLine
{/* So chart doesn't conflict with navigation back gesture and scroll views */}
minDurationMs={300}
/>
nandorojo commented
This is already implemented.
nandorojo commented
Ah I see they forgot to forward the props onto LineChartCursor
.
nandorojo commented
If you use LineChart.Cursor
directly, you're able to do this. So you might want to use that and add your own line by forking their line for now.
daginfinity commented
@nandorojo Could you please update the readme, to mention minDurationMs
?
nandorojo commented
@daginfinity can you?