refactor view to top level
This commit is contained in:
2
client/d3/base.js
vendored
2
client/d3/base.js
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user