plouc / nivo

nivo provides a rich set of dataviz components, built on top of the awesome d3 and React libraries
https://nivo.rocks
MIT License
13.19k stars 1.03k forks source link

ability for tooltip to follow touch drag/scrub on mobile devices #1942

Closed netslayer closed 2 years ago

netslayer commented 2 years ago

Is there a way to configure (or a feature request) to have Nivo line/area charts support mobile touch drag scrubbing for live tooltip tracking updates on the series line?

Ideally, as a user moves their finger across the chart, the tooltip would update underneath them. Currently, you need to tap/touch on the chart continuously to have the tooltip update on that new position.

Example chart showing this (lack of) behavior when viewed on mobile chrome on an iphone https://nivo.rocks/storybook/?path=/story/line--area-gradients

Examples of other charting libraries that handle drag scrub updates: Visx https://airbnb.io/visx/areas Apex https://apexcharts.com/react-chart-demos/area-charts/stacked/ HighCharts https://www.highcharts.com/demo/stock/spline

Thank you

stale[bot] commented 2 years ago

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

stale[bot] commented 2 years ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!