Home forums Using CanvasJS open vs href issue

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

    Hi all,

    I’m fairly new to canvasjs so I’d appreciate your patience. I’m running into an issue where I can open the html file and display the data just fine. The html file’s code is copied directly from the tutorials.

    Whenever I try an href from another page onto the same html file I open before, I get an empty screen. Checking the console, I get an issue of “CanvasJS is not defined at window.onload”. I’m loading the canvasjs.min.js script before I call the constructor so I don’t think that’s the issue. Again, it runs file when I call “open test.html” , but when I do an href from one html file to test.html, I run into the “CanvasJS not defined” issue above.

    I’m not sure if this is an issue since I don’t have the full version.

    Any help would be appreciated! Thanks :)

    #27369

    @kfidan,

    Can you kindly create a sample project reproducing the issue along with sample data and share it with us over Google-Drive or Onedrive so that we can look into the code, run it locally to understand the scenario better and help you resolve?


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.