public/static/js/flot-0.8.3/jquery.flot.threshold.js
Function init
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init(plot) {
function thresholdData(plot, s, datapoints, below, color) {
var ps = datapoints.pointsize, i, x, y, p, prevp,
thresholded = $.extend({}, s); // note: shallow copy
Function thresholdData
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function thresholdData(plot, s, datapoints, below, color) {
var ps = datapoints.pointsize, i, x, y, p, prevp,
thresholded = $.extend({}, s); // note: shallow copy
thresholded.datapoints = { points: [], pointsize: ps, format: datapoints.format };
Function thresholdData
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function thresholdData(plot, s, datapoints, below, color) {