I wanted to use http://arborjs.org/atlas/ plugin ,but the plugin is not working in IE. Anyone knows any jquery plugin like arbor which will work in most browser and will be easy to use. I have a data which can be shown like atlas or graph. I wanted a jquery plugin which can easily do this job for me.
I have downloaded the the arborjs codes but the demo provided in the zip file is not working in both IE and firefox.So I am thinking to drop this plugin for my work.Please let me know any plugin which can easily plot graph for me .
I wanted to use http://arborjs.org/atlas/ plugin ,but the plugin is not working in IE.
Share
It doesn’t work in IE because it’s using the canvas element. Here’s a solution for IE and Canvas.
You first need to download the library located on the link above and then upload the excanvas.js file to your server. Link to it using this code:
You see above conditional comments (also called cond-com) which are only read by Internet Explorer. They check for the existence of Internet Explorer as the browser in use and then include the code in between. In this case, we link to the script we just downloaded (excanvas.js) and include it within the website. Remember, this will only include the script if the browser is Internet Explorer, which is perfect because we don’t want users to download a script if they don’t need to (if it’s supported by their browser already).
To address the issue of your error “Failed to load script: /arbor.js (nsresult = 0x805303f4)” which I have also duplicated on my own system: the problem seems to be because you’re loading a Worker javascript object. This specific object requires that the files in question be hosted either on a local server (through localhost) or through a live web server. The javascript libraries trying to be loaded are currently being loaded through your file structure on your computer, but the code in ArborJS requires these files be hosted in some nature, not just present in your system directory. Try putting everything on the Internet (again, either through a locally hosted server or through a publicly available server) and you should have better luck. Trying to run this script from the files on your computer will not work.