chartjs/chartjs-plugin-datalabels

View on GitHub
src/label.js

Summary

Maintainability
A
3 hrs
Test Coverage
B
80%

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

      There are no issues that match your filters.

      Category
      Status