app/scripts/views/components/generalChart.js
Function GeneralChart
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
iViz.view.component.GeneralChart = function(chartType) {
'use strict';
this.chartType = chartType || 'generalChart';
this.dataForDownload = {};
this.getCurrentCategories = function() {