react-d3-zoom
Version:
react-d3 zoom implementation
22 lines (20 loc) • 405 B
JavaScript
;
Object.defineProperty(exports, '__esModule', {
value: true
});
var width = 960;
var height = 500;
var margins = { top: 80, right: 100, bottom: 80, left: 100 };
exports['default'] = {
width: width,
height: height,
margins: margins,
y: function y(d) {
return +d;
},
xScale: 'linear',
yScale: 'linear',
zoomY: false,
zoomX: true
};
module.exports = exports['default'];