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

The upwards rounding for the y-axel of the graph

Open em222iv opened this issue 8 years ago • 4 comments

example case: insert data set of values between: 44,7 - 55. the rounding of 44.7 to 45 hides the lowest point of the graph line. It should alwaoys round downwards, so in this case to 44.

skarmavbild 2016-10-20 kl 17 47 54

em222iv avatar Oct 20 '16 15:10 em222iv

at least for the min value

em222iv avatar Oct 20 '16 16:10 em222iv

have you found a solution?

brunobraga95 avatar Oct 24 '16 01:10 brunobraga95

Not really. But the fix should be something like, every integer, no mather the decimal value, should get a y-axel label. The math.round function does not implement this =)

em222iv avatar Oct 25 '16 11:10 em222iv

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