Developers

Technical forum about Content Type or System Plugin development.
Here you can apply for developer access.

Add chart.min.js into my Project

exma2's picture
Forums: 

Hello,

im working on a project to insert specific charts into my h5p Coure-Presentation. 

I thought i can easy use some canvas element to show my graph. 

I want to use the chart.min.js, downloaded from https://www.jsdelivr.com/package/npm/chart.js. 

If im trying to import the class with "import Chart from 'chart.min.js';" i cant add some element from that class.  I also used other methods to integrate this file like this:

Pages