Open alexandreszymkiw opened 2 years ago
You can instead of registering the plugin globally by calling Chart.register(chartDatalabels)
register it locally to the chart you want to display new Chart(ctx, {data, optsions, plugins: [chartDatalabels]})
or disable it in the config: new Chart(ctx, {data, options: {plugins: {datalabels: false}}})
Hello, I use this plugin with chartjs : is-it possible to developp this function : to have the possibly to display datalabels on 1 or all charts ? Because there are no options to display only one chart when we display 2 charts on the same chart. Thank you for your answer