react-vis
Advanced tools
Comparing version 1.5.6 to 1.5.7
@@ -52,3 +52,3 @@ 'use strict'; | ||
height: _propTypes2.default.number, | ||
data: _propTypes2.default.array, | ||
data: _propTypes2.default.arrayOf(_propTypes2.default.object), | ||
onValueMouseOver: _propTypes2.default.func, | ||
@@ -55,0 +55,0 @@ onValueMouseOut: _propTypes2.default.func, |
@@ -151,4 +151,6 @@ 'use strict'; | ||
data: _propTypes2.default.arrayOf(_propTypes2.default.shape({ | ||
x: _propTypes2.default.number.isRequired, | ||
y: _propTypes2.default.number.isRequired, | ||
x: _propTypes2.default.number, | ||
y: _propTypes2.default.number, | ||
angle: _propTypes2.default.number, | ||
radius: _propTypes2.default.number, | ||
label: _propTypes2.default.string.isRequired, | ||
@@ -155,0 +157,0 @@ xOffset: _propTypes2.default.number, |
@@ -216,3 +216,9 @@ 'use strict'; | ||
colorType: _propTypes2.default.string, | ||
data: _propTypes2.default.array.isRequired, | ||
data: _propTypes2.default.arrayOf(_propTypes2.default.shape({ | ||
angle: _propTypes2.default.number.isRequired, | ||
className: _propTypes2.default.string, | ||
label: _propTypes2.default.string, | ||
radius: _propTypes2.default.number, | ||
style: _propTypes2.default.object | ||
})).isRequired, | ||
height: _propTypes2.default.number.isRequired, | ||
@@ -219,0 +225,0 @@ labelsAboveChildren: _propTypes2.default.bool, |
@@ -565,3 +565,2 @@ 'use strict'; | ||
if (isNaN(parseFloat(domain[0])) || isNaN(parseFloat(domain[1]))) { | ||
console.log('It was not a number in domain'); | ||
return domain; | ||
@@ -683,3 +682,2 @@ } | ||
// Make sure that the domain is set pad it if specified | ||
console.log('attributes: ', JSON.stringify(attributes, null, 2)); | ||
attributes.forEach(function (attr) { | ||
@@ -686,0 +684,0 @@ if (!props[attr + 'Domain']) { |
{ | ||
"name": "react-vis", | ||
"version": "1.5.6", | ||
"version": "1.5.7", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Visualization Team <visualization@uber.com>", |
Sorry, the diff of this file is too big to display
1030025
10546