tomauty / react-native-chart

[NOT MAINTAINED] :bar_chart: Add line, area, pie, and bar charts to your React Native app
http://tomauty.github.io/react-native-chart
MIT License
1.58k stars 237 forks source link

negative value to y axis #140

Open hyluo opened 8 years ago

hyluo commented 8 years ago

hi, i tried to assign negative value to y axis

const data = [ [0, -1], [1, -3], [3, -7], [4, 9], ];

but the output of the y axis doesn't match the min/ max value it should be is there any solution or workaround? thanks!

simulator screen shot 2016 10 31 4 54 04

kadzier commented 7 years ago

I have this problem too... negative values seem broke

tomauty commented 7 years ago

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.