react-native-chart icon indicating copy to clipboard operation
react-native-chart copied to clipboard

Line chart data point being cut off graph container

Open damianlajara opened this issue 9 years ago • 4 comments
trafficstars

On Android, when I set the data point to false, everything works fine but it looks pretty plain which is why I want to have the actual data points. When I set it to true, however, the points get cut off the chart container. Does it maybe have something to do with the overflow? Have a look: rn_chart

damianlajara avatar Sep 03 '16 02:09 damianlajara

+1,

Having the same issue on iOS using ReactNative V0.32. It looks like the way the chart renders is that its lower bounds are directly on the lowest points, which cuts the circle rendered at that point in half or into a quarter in the case where the point is at [0,0]. Perhaps there is a way to add some buffer space based on the point's radius when showDataPoint={true}.

fossage avatar Sep 05 '16 23:09 fossage

Same issue here on iOS using 0.35.

rhysowen avatar Nov 17 '16 16:11 rhysowen

same issue

maltz avatar May 17 '17 18:05 maltz

As a generic FYI — I am no longer able to maintain this library. I recommend checking out victory-native as it's much more maintained.

tomauty avatar Jul 07 '17 20:07 tomauty