You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem comes from the D.node function (Flotr.DOM.node) that retrieves the DOM element (variable n) after adding it to a DIV.
However, when the line DIV.innerHTML = ''; is called, the element 'n' is emptied.
One solution would be to detach the element from the DIV using removeChild:
node: function(html){vardiv=Flotr.DOM.create('div'),n;div.innerHTML=html;/* FIX : IE: use removeChild to detach the element from the DIV, and prevent to be removed when div.innerHTML is called */n=div.removeChild(div.children[0]);div.innerHTML='';returnn;}
The text was updated successfully, but these errors were encountered:
I try to define my own legend container.
But in IE, when the following lines is called, the created table is empty :
The problem comes from the D.node function (Flotr.DOM.node) that retrieves the DOM element (variable n) after adding it to a DIV.
However, when the line
DIV.innerHTML = '';
is called, the element 'n' is emptied.One solution would be to detach the element from the DIV using removeChild:
The text was updated successfully, but these errors were encountered: