ruby on rails - Issue with displaying sample d3 graph bar chart on IE 8 -
i've been referring sample bar chart screencast , i'm trying see how d3.js work on ie 8. i've copied sample code present in screencast tutorial , i've placed same in file in app. based on wiki of d3 i've tried including aight(aight.js , aight.d3.js) in rails app, in layout . when i've tried hitting sample url /companies/company_division_stats on ie 8, nothing shows up. works on chrome , firefox.
i understand aight.js might have limited support in terms of functions wrt ie 8 browser. because of reason d3 graph doesn't show on ie 8 , shows on other browsers or code ?
my code present on github. can 1 please tell me in case i'm missing something.
for ie8, need limit manipulating regular html dom nodes d3. example linked uses svg, not supported ie8:
from d3 wiki linked:
you'll need modern browser use svg , css3 transitions. d3 not compatibility layer, if browser doesn't support standards, you're out of luck. sorry!
from aight github page (emphasis mine):
aight collection of shims , polyfills ie8 speed bare minimum of html5 compatibility, providing of interfaces necessary html-only dom manipulation d3.js (and other libraries rely on interfaces)
if you're looking examples not use svg, first 8 of scott murray's tutorials use html. however, think you'll find other examples on web use d3 svg. if ie8 support important you, library such raphael may more appropriate.
Comments
Post a Comment