react-native-pathjs-charts
react-native-pathjs-charts copied to clipboard
SmoothLine Graph overlapping y axis
Before filing an issue please ensure the following boxes are checked, if applicable:
- [✓] I have searched for existing issues
- [ ✓] I have provided detailed instructions that can reproduce the issue (including code and data necessary)
SmothLine graph overlaps y-axis if two data points have a significant difference in x values. For example, in my case, for data
[ [ { x: 0, y: 75 }, { x: 1.7419354838709677, y: 75 }, { x: 13.741935483870968, y: 75 } ] ]
the graph drawn is:
Could you help me on this? Any pointers into fixing would be really appreciated!
Thanks for submitting an issue.
It's also interesting to note on this particular data set, that I didn't even see a chart rendered without using min:0,max:100 for the options - I just saw an x axis line with no y-axis and no smoothline chart drawn.
As we fix this bug, we should make sure both variations of behavior are fixed.