react-native-pathjs-charts icon indicating copy to clipboard operation
react-native-pathjs-charts copied to clipboard

Values for Y where Y < min will push X axis out of view for Line graphs

Open Cody-G-G opened this issue 8 years ago • 1 comments
trafficstars

It's all in the title: to replicate in the SmoothLineChartRegionsExtended example, simply assign a value for Y of a data point such that Y < min (when min is specified). Example, where min = 30, as you can see, my second data point has Y = 10, which pushes the X axis out of view:

data: [[ {"x": 0, "y": 82.5}, {"x": 13, "y": 10}, {"x": 15, "y": 100}, {"x": 17, "y": 150}, {"x": 24, "y": 50} ]]

16732084_1254450414625091_1885717428_o

Cody-G-G avatar Feb 11 '17 20:02 Cody-G-G

Some preliminary analysis on this makes me think Axis.js was never updated to be made aware of the new concept of min/max y values introduced recently - more research/work later.

marzolfb avatar Feb 14 '17 14:02 marzolfb