margelo / react-native-graph

📈 Beautiful, high-performance Graphs and Charts for React Native built with Skia
https://margelo.io
MIT License
2.04k stars 115 forks source link

Animated chart doesn't show if first date isn't UTF 0 #44

Open dynamichny opened 1 year ago

dynamichny commented 1 year ago

After updating a package, I noticed that it doesn't show, checked the example, and it did. But after I changed graph data generation method with date: new Date(index + 1) instead of date: new Date(index), the example behave the same - don't show the graph.

https://user-images.githubusercontent.com/48184525/196126546-d59c9f62-5708-4236-b88a-ae6846bea0db.mov

imdipprokash commented 1 year ago

You can use this https://github.com/imdipprokash/React-Native-Gifted-Charts-Example