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

Poor performance of `<LineChart.Dot hasPulse />` when there are 200+ data points #175

Closed felipebrahm closed 5 months ago

felipebrahm commented 5 months ago

Description

When there are 200+ data points and a single <LineChart.Dot hasPulse />, there's a very noticeable performance degradation and scrolling becomes laggy. This is the animation causing the performance degradation.

Tested on latest release (2.5.1).

Screen Capture

Here's an example of 289 data points and one LineChart.Dot with and without hasPulse.

hasPulse={false} hasPulse={true}
felipebrahm commented 5 months ago

Closed by #177