JS charts and graphs, maps, stock charts, and Gantt charts powered by An圜hart have helped thousands of companies including industry leaders - from startups to corporate giants such as Ford, Oracle, Microsoft, AT&T, Samsung, 3M, Nokia, BP, Lockheed Martin, Bosch and many others - gain better insight, make right decisions, and improve their enterprise performance based on robust, insightful data visualization. until we hack around this or solve in some other way.Founded in 2003, An圜hart is one of the global leaders in interactive data visualization, offering award-winning, flexible JavaScript (HTML5) charting libraries with numerous chart types and features, great API and documentation, and enterprise-grade support to help businesses transform operational data into actionable information. it could be a bug in another library or in a browser.Īs such, this demo only works in Chrome and Firefox for the moment.
So, I understand there may be no "answer" to this question. They have also been contacted through their support. However, the fact that IE shows only one namespace in the DOM explorer and then two when exporting is suspect that it is an IE issue potentially. It does only appear using Anychart library. NOTE2: I am not discounting the fact that this could exists in the underlying Anychart JS library used or be a bug in Internet Explorer. We can do that (in fact we already do) to close empty (non-closed) HTML tags to make valid XML. NOTE: I am not looking for answers like apply the regex against the serialized string or such.
If you use javascript to extract that SVG in anyway (simplest method is copy HTML in Explorer DOM), you will see that this element's HTML is actually: Įven using document.getElementById("anychart").outerHTML in console returns this element this way. Using IE and DOM explorer, you will see this:Īll looks fine. If you examine this page:Īnd look toward Image Example #4, you will see a chart. The issue lies only in IE and only with the Anychart chart. The application is a printing application and extracts the resolved css + html into a separate div and sends this via REST to a formatting service. We are using charting libraries from Anychart and D3 to generate SVGs on a page. First, it's unclear that it is IE except this behavior does not happen on Chrome or Firefox. I have an oddity I am trying to solve which is baffling. But I will consider the best method you propose keeping within the framework of our application to remove the spurious attribute as the solution. In keeping with Stackoverflow, this could be a bug in some underlying things that no one can fix. I modified this and am moving this comment to the top.