coinjar / react-native-wagmi-charts

A sweet & simple chart library for React Native that will make us feel like We're All Gonna Make It.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make chart more detailed upon clicking on chart

julian-dotcom opened this issue · comments

commented

Hey guys,

I'd like to add a feature to my chart where it becomes more detailed (more data points) when a user clicks on the chart and scrubs around.

E.g. initially, the chart has 20 data points. As soon as the user clicks and moves the cursor around, the chart should still visualize the same data, but with more datapoints (e.g. 100). Once the user unclicks, it should have only 20 again, as before.

Any ideas how to implement this?