DavideViolante / chartjs-plugin-labels

Plugin for Chart.js to display percentage, value or label in Pie or Doughnut.
MIT License
55 stars 18 forks source link

Avoid use of global Chart inside function #8

Closed Babbiorsetto closed 2 years ago

Babbiorsetto commented 2 years ago

This is to support environments which may not have access to the global Chart object anymore after the initial setup (chartjs-node-canvas).

Babbiorsetto commented 2 years ago

close #7

DavideViolante commented 2 years ago

Thanks, LGTM