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

showDataPoint=false hides lines on "line" chart #108

Open akovantsev opened 8 years ago

akovantsev commented 8 years ago
"react": "^15.1.0",
"react-native": "^0.27.0-rc2",
"react-native-chart": "^1.0.7-beta"
(clojurescript)

lines:
{:data [[-4 -2] [-2.5 1.3] [0 0] [1 1.5] [3 1]]
 :showDataPoint true
 :type "line"}
screen shot 2016-07-23 at 12 45 25 am
no lines:
{:data [[-4 -2] [-2.5 1.3] [0 0] [1 1.5] [3 1]]
 :showDataPoint false
 :type "line"}

or:
{:data [[-4 -2] [-2.5 1.3] [0 0] [1 1.5] [3 1]]
 :type "line"}
screen shot 2016-07-23 at 12 45 40 am
lines again:
{:data [[-4 -2] [-2.5 1.3] [0 0] [1 1.5] [3 1]]
 :showDataPoint false
 :type "bar"}
screen shot 2016-07-23 at 12 47 26 am
akovantsev commented 8 years ago

on a side-note: Y-axis values are weird too.

tomauty commented 8 years ago

This will be fixed in the react-native-svg branch when it's merged.

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.