UNPKG

react-d3-zoom

Version:
17 lines (14 loc) 286 B
"use strict"; const width = 960; const height = 500; const margins = {top: 80, right: 100, bottom: 80, left: 100}; export default { width: width, height: height, margins: margins, y: (d) => {return +d;}, xScale: 'linear', yScale: 'linear', zoomY: false, zoomX: true }