Home › forums › Chart Support › Load canvasjs from dojo config
Hello, i want to load canvasjs from dojo config, so i made the following :
var dojoConfig =
and in my require function I call canvasjs.
But when I am trying using it, it says : ‘canvasjs.chart is not a constructor’.
The script available in CDNJS is outdated and not published by us. We recommend you to download the latest version of CanvasJS from our download page.
You can load external libraries to your project in dojo as mentioned in this documentation page. Please take a look at this JSFiddle for an example.
You must be logged in to reply to this topic.