Skip to content

Commit eb60e54

Browse files
committed
some improvements in charts with missing data
1 parent 0675fc4 commit eb60e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/LineChart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ var LineChart = React.createClass({
285285

286286
_renderLine: function(value, index, values, dataset) {
287287
if ( value == null ) {
288-
return (<View style={lineStyles.container}></View>);
288+
return (<View key={'line-' + index} style={lineStyles.container}></View>);
289289
}
290290
var fromValue = value;
291291
var toValue = values[index + 1];

0 commit comments

Comments
 (0)