-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Is there a way how to import your code into a react application without use of HTML <script> tag? I would like to use it in my application that is written in the react, but I am using the native chartjs on one page. I would like to have the option like with chartjs-plugin-datalabels that it will register itself once the module is imported:
import Chart from 'chart.js';
import ChartDataLabels from 'chartjs-plugin-datalabels.js';and in case I need I can unregister it via:
Chart.plugins.unregister(ChartPluginStyle);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested