chartjs/chartjs-plugin-datalabels

View on GitHub

Showing 2 of 3 total issues

File label.js has 294 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import {ArcElement, BarElement, defaults, PointElement} from 'chart.js';
import {
  callback as callbackHelper,
  isNullOrUndef,
  merge,
Severity: Minor
Found in src/label.js - About 3 hrs to fix

    Function drawRoundedRect has 6 arguments (exceeds 5 allowed). Consider refactoring.
    Open

    function drawRoundedRect(ctx, x, y, w, h, radius) {
    Severity: Minor
    Found in src/label.js - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language