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

Line graph will crash on an empty data set

Open Firaenix opened this issue 7 years ago • 1 comments

Bar graph displays as expected with no data, just an empty graph.

Line Graph throws an error. This should be easy to reproduce hopefully.

My code: <Chart style={Style.chart} // X, Y data={[]} type="line" cornerRadius={3} verticalGridStep={1} hideHorizontalGridLines hideVerticalGridLines tightBounds showDataPoint /> image

Firaenix avatar Sep 10 '16 13:09 Firaenix

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