src/js/chart-base.js
Function ChartBase
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var ChartBase = function (selection, chartClass) {
this.hasRenderedOnce = false;
this.selection = isD3Selection(selection) ? selection : d3.select(selection);
this.update = function () {
};