react-d3-brush
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -95,2 +95,23 @@ 'use strict'; | ||
enumerable: true | ||
}, { | ||
key: 'propTypes', | ||
value: { | ||
data: _react.PropTypes.array.isRequired, | ||
chartSeries: _react.PropTypes.array.isRequired, | ||
width: _react.PropTypes.number, | ||
height: _react.PropTypes.number, | ||
x: _react.PropTypes.func, | ||
xDomain: _react.PropTypes.array, | ||
xRange: _react.PropTypes.array, | ||
xScale: _react.PropTypes.string, | ||
xRangeRoundBands: _react.PropTypes.object, | ||
y: _react.PropTypes.func, | ||
yDomain: _react.PropTypes.array, | ||
yRange: _react.PropTypes.array, | ||
yScale: _react.PropTypes.string, | ||
brushMargins: _react.PropTypes.object, | ||
brushHeight: _react.PropTypes.number, | ||
yBrushRange: _react.PropTypes.array | ||
}, | ||
enumerable: true | ||
}]); | ||
@@ -97,0 +118,0 @@ |
{ | ||
"name": "react-d3-brush", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "react-d3 brush implementation", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
@@ -26,2 +26,21 @@ "use sctrict" | ||
static propTypes = { | ||
data: PropTypes.array.isRequired, | ||
chartSeries: PropTypes.array.isRequired, | ||
width: PropTypes.number, | ||
height: PropTypes.number, | ||
x: PropTypes.func, | ||
xDomain: PropTypes.array, | ||
xRange: PropTypes.array, | ||
xScale: PropTypes.string, | ||
xRangeRoundBands: PropTypes.object, | ||
y: PropTypes.func, | ||
yDomain: PropTypes.array, | ||
yRange: PropTypes.array, | ||
yScale: PropTypes.string, | ||
brushMargins: PropTypes.object, | ||
brushHeight: PropTypes.number, | ||
yBrushRange: PropTypes.array | ||
} | ||
mkXDomain() { | ||
@@ -28,0 +47,0 @@ return this.setXDomain = xDomainCount(this.props); |
66595
1449