Use Chart.js for Moodle report plugin in Moodle 3.0

Use Chart.js for Moodle report plugin in Moodle 3.0

by Dasu Gunathunga -
Number of replies: 0

Hi,

I want to develop a moodle report plugin for our company with graphs. We are currently using Moodle version 3.0. I want to use chart.js inside this report plugin. I know chart.js is available in Moodle core in version 3.2. However till we upgrade into moodle version 3.2 we can include chart.js inside our plugin. Is it safe to create java script AMD package using chart.js CDN? If not what is the best way to achieve this? I really appreciate your help.

Thanks

Dasu



Average of ratings: -