I created a chart using the data visualizer app and clicked the ‘Embed’ link to copy the HTML code for the chart. .
I replaced username & password with my login username and password, for example: ‘fruity’ & ‘elephant’. I’m not sure about the url to server, I just put the url for the dhis2 we are working on https://dhis2.fred-sdfff.ng.
when I try and run the code in my computer nothing shows. On the console I get 2 errors
-
Failed to load resource: the server responded with a status of 404 ()
https://dhis2-cdn.org/v230/plugin/chart.js -
Uncaught ReferenceError: chartPlugin is not defined at dhis2.html:12 (the line where chartPlugin.url is)
Any assistance will be appreciated