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

Prevent CandlestickChart.PriceText from disappearing when inactive? #105

Open joey-harward opened 2 years ago

joey-harward commented 2 years ago

Is there any way to prevent CandlestickChart.PriceText from disappearing when Crosshair is inactive? I have tried using a custom format but it doesn't seem to work.

<CandlestickChart.PriceText
    format={({ value }) => {
        'worklet'

        if (value === '') {
            return `${closingValue}`
        }
        return value
    }}
/>

Thanks for any help :)

nadavdrewe commented 2 years ago

Did you ever find a solution for this/

julian-dotcom commented 1 year ago

Also curious