app/assets/javascripts/metricsgraphics_brushing.js
Function brushing
has 157 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function brushing() {
var chartContext = this;
args = this.args;
File metricsgraphics_brushing.js
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['d3', 'jquery', 'MG'], factory);
} else if (typeof exports === 'object') {
module.exports = factory(require('d3'), require('jquery'), require('MG'));
Function get_brush_interval
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_brush_interval(args) {
var resolution = args.brushing_interval,
interval;
if (!resolution) {