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
When creating a graph with Highcharts, in Internet Explorer (9+) the SVG element that is created has two identical xmlns attributes. This causes problems when trying to convert the SVG to an image (e.g. with Batik).
Steps to reproduce:
Open any demo at highcharts.com in IE (9+)
Press F12 to open Developer Tools
Go to the HTML tag and hit Alt+E to view the modified HTML source
Scroll down to the SVG element and witness the duplicate attributes
Thanks! The node is actually created with createElementNS, but where IE9 adds the namespace as an attribute to the XML, other browsers do not expose the attribute. Probably we need to do some conditional logic.
When creating a graph with Highcharts, in Internet Explorer (9+) the SVG element that is created has two identical xmlns attributes. This causes problems when trying to convert the SVG to an image (e.g. with Batik).
Steps to reproduce:
Forked jsFiddle: http://jsfiddle.net/9R7NP
Output in Firefox:
Output in IE:
I also posted this on Stack Overflow and someone answered suggesting it was a bug with the way the SVG element is created: http://stackoverflow.com/q/17265376/434012
The text was updated successfully, but these errors were encountered: