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
589 stars 116 forks source link

Optimal amount of data point for performance #137

Open julian-dotcom opened 1 year ago

julian-dotcom commented 1 year ago

I've noticed that if I have more than 50 data points rendered by the char, the rendering becomes a bit shaky.

Is there a specific amount of data points that shouldn't be crossed, ideally?

cam-shaw commented 1 year ago

@julian-dotcom could you explain what you mean by "shaky"? I can fairly comfortably put a few hundred data points on the chart and it works okay - Last time I checked I had 360 rendered.

What is it that you're attempting to do? - perhaps provide a video if possible of the performance issue.

I have noticed performance degradation if you animate changes (between two data sets), but that's to be expected given the number of points I sometimes have to animate.