refactor view to top level

This commit is contained in:
Eric Hulburd
2016-02-15 11:38:41 -06:00
parent 6713e756c4
commit 1758fce5a4
12 changed files with 217 additions and 100 deletions

2
client/d3/base.js vendored
View File

@@ -31,7 +31,7 @@ class Chart {
constructor(options){
var chart = this;
chart = extend(chart, chart.chart_options, options);
chart = extend(chart, chart.chart_options, options);
chart.height = chart.outer_height - chart.margin.top - chart.margin.bottom;
chart.width = chart.outer_width - chart.margin.left - chart.margin.right;