myems-admin/js/plugins/flot/jquery.flot.spline.js
Function drawSpline
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function drawSpline(plot, ctx, series) {
// Not interested if spline is not requested
if (series.splines.show !== true) {
return;
}
Function getControlPoints
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function getControlPoints(x0, y0, x1, y1, x2, y2, tension) {
Function drawLine
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function drawLine(points, ctx, height, fill, seriesColor) {