How to register a plugin in PrimeVue Chart?

UI Components for Vue
Post Reply
Posts: 13
Joined: 02 Jun 2020, 13:43

20 Jan 2021, 12:43

Hi everyone

I am having problems with registering a plugin in Primevue Chart (

Based on the documentation from Chart.js I need to register the plugin first ( ... ng-plugins)

Code: Select all

var chart1 = new Chart(ctx, {
    plugins: [plugin]
If I simply use options without registering the plugin it doesn't work.

Code: Select all

options: {
    plugins: {
Would be nice to mention it in the documentation . Thanks.

As an example I would like to register the following plugin:

Thanks for any help.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 2 guests