smaller graph, mouse events on fixed

This commit is contained in:
Colin Megill
2018-05-10 01:21:35 -07:00
parent a803601793
commit 136a345e21
2 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ export const maxControlsWidth = 800;
export const graphMargin = { top: 20, right: 10, bottom: 30, left: 40 };
// export const graphWidth = 1440 /* window width */ - 410 /* sidebar */ - (15 + 15) /* left right padding */ /* but responsive */;
// export const graphHeight = 500;
export const graphWidth = 960;
export const graphHeight = 960;
export const graphWidth = 700;
export const graphHeight = 700;
import { scaleLinear } from "./util/scaleLinear";
// d3.scaleLinear().domain([0,1]).range([0 + graphMargin.left, graphWidth - graphMargin.right])