Home forums Chart Support Load canvasjs from dojo config

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #28729

    Hello, i want to load canvasjs from dojo config, so i made the following :

    var dojoConfig = 
              aliases: [

    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.

    Indranil Deo
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.