static/js/dncp/util/shape/MarkLine.js
Function brushSymbol
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
brushSymbol : function (ctx, style, idx) {
if (style.symbol[idx] == 'none') {
return;
}
ctx.save();
Function buildPath
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
buildPath : function (ctx, style) {
var lineType = style.lineType || 'solid';
ctx.moveTo(style.xStart, style.yStart);
if (style.curveness > 0) {