turn brush back on, with bugs...

This commit is contained in:
Colin Megill
2018-04-19 14:54:36 -07:00
parent 56a691e307
commit 31c4f54570
2 changed files with 20 additions and 17 deletions
+4 -2
View File
@@ -58,8 +58,10 @@ export const maxParagraphWidth = 600;
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 = 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 graphXScale = d3.scaleLinear()
.domain([0, 1]) /* while this is the default for d3, our data is normalized so better to be explicit */