Hello,
We have a chart brought by an ajax call into our page. It works fine, but time to time it gives an error deep from its source code.
The error is in this method;
where we get the element object as undefined, and this problem only occurs when we try to initialize the chart on ipad. I cannot seem to find the exact reason why we get this error, I am aware that I am supplying you with very little information, but I hope you can find a solution asap.
Thanks, and hope to hear back from you.
We have a chart brought by an ajax call into our page. It works fine, but time to time it gives an error deep from its source code.
The error is in this method;
renderElement: function(element) { var view = this, container = doc.createElement("div"), defsCurrent = doc.getElementById(view.defsId), defsElement, domElement; dataviz.renderSVG(container, "<?xml version='1.0' ?>" + "<svg xmlns='" + SVG_NS + "' version='1.1'>" + view.renderDefinitions() + element.render() + "</svg>" ); defsElement = container.firstElementChild.firstChild; domElement = container.firstElementChild.lastChild; if (defsCurrent && defsCurrent.textContent !== defsElement.textContent) { defsCurrent.parentNode.replaceChild(defsElement, defsCurrent); } return domElement; },where we get the element object as undefined, and this problem only occurs when we try to initialize the chart on ipad. I cannot seem to find the exact reason why we get this error, I am aware that I am supplying you with very little information, but I hope you can find a solution asap.
Thanks, and hope to hear back from you.