chartjs/chartjs-plugin-datalabels

View on GitHub

Showing 3 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

      TODO found
      Open

          // TODO New `z` option: labels with a higher z-index are drawn
      Severity: Minor
      Found in src/layout.js by fixme
      Severity
      Category
      Status
      Source
      Language