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.
MIT License
588 stars 116 forks source link

Programmatically display CursorLine #167

Closed tiste closed 2 months ago

tiste commented 8 months ago

Hello,

I have a use case where some buttons aim to go forward/backward over time.

It would be great if there is a way to move/display the cursorline from code (like hook).

Thanks again for the lib.

honeybadger26 commented 7 months ago

Hi @tiste.

Great suggestion! How about an at property that can be used like:

<LineChart.CursorLine at={indexToDrawLine} />
tiste commented 2 months ago

Hey @honeybadger26, it's done :) #183