Jump to content
JChartFX Community
  • 0

Issues running jChartFX on IE 10


Swap
 Share

Question

Hi,

I am using Eclipse 3.7 IDE for my development and I have added the JChartFX for my graph needs. It works perfectly when I test from inside Eclipse IDE. But on IE 10, it throws error : SCRIPT5007: Unable to get property 'getElementById' of undefined or null reference. Here is my loadChart funtion :

function loadChart(frm,data){

chart1 = new cfx.Chart();

chart1.setDataSource(data);     

chart1.setGallery(cfx.Gallery.Bars);

 var divHolder = frm.document.getElementById("graph"); // Alternatively I tried using document.forms("formname").elements("graph") but then it results in script error : SCRIPT5007: Unable to get property 'offsetWidth' of undefined or null reference. It points to jChartFX.system.js

       chart1.create(divHolder);    

  } 

The document.getElementById works in all other jsp pages. 

 Please help me resolve it as I am almost done with my development work and I am not sure how to fix this IE issue.

Thanks 

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...