This link has the code: http://jsfiddle.net/agc0fuyk/18/
works fine when :
Run in jsfiddle (chrome as well as IE 11.0.96).
Run in visual studio asp.net html page (chrome as well as IE 11.0.96).
fails when :
Run in SharePoint 2010 Visual Web Part(visual studio 2010)
now when I open F12 Developer tool's emulation tab for this IE window, Document mode is set to 5 by default, When I change the document mode to 10, I can see the page/chart loaded properly.
At sharepoint page I have added the meta tag :
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
also added JavaScript to remove indexOf error in IE Reference from indexOf is not a function in Firefox, Opera but works in IE, indexOf alternative in javascript to test string contains?
Please help me to run this in IE.