react-native-animated-charts
react-native-animated-charts copied to clipboard
Label not returning zeroes
When data has zeroes label returns undefined and the dot won't show on the right location when the angle get too steeper like this

[{"x": 1610550427.05901, "y": 0}, {"x": 1610464027.060391, "y": 0}, {"x": 1610377627.061678, "y": 0}, {"x": 1610291227.062755, "y": 0}, {"x": 1610204827.063811, "y": 0}, {"x": 1610118427.064869, "y": 0}, {"x": 1610032027.066217, "y": 0}, {"x": 1609945627.067359, "y": 500}]
Steps to reproduce:
- Use simplifyData with the array provided above
simplifyData(data, 1, true) - Use 95% of the screen width (a card in my case)
- Now the angle is to high and the dot is not in the right place
same problem
Hi and thanks, Can you try the new version?