The graph of last 30 days on the dashboard is displayed for me correctly in Firefox 16.0.2, but not in IE10. I may have found a fix for IE10.
A canvas drawing statement, which is present in firefox, seems to be missing in my IE screen. Perhaps the browser selection logic is omitting it? Not sure…
Here is the code in Firefox:
<span class=”ga_visits” title=”The most visits on a single day was 11. Yesterday there were 11 visits.”>
<canvas style=”display: inline-block; width: 567px; height: 75px; vertical-align: top;” width=”567″ height=”75″></canvas>
</span>
Here is the same section in IE:
<p class=”ga_visits_title” style=”color: #777; font-family: Georgia, “Times New Roman”, “Bitstream Charter”, Times, serif; font-size: 13px; font-style: italic; margin-top: 0px;”>
I pulled up the IE10 debugger, and the following js threw an error:
if($.browser.msie&&!document.namespaces[‘v’]){document.namespaces.add(‘v’,’urn:schemas-microsoft-com:vml’,’#default#VML’);}
This support link describes the error, but also indicates it had been fixed for IE10 with an edit to the sparkline JS.
https://github.com/gwatts/jquery.sparkline/pull/19/files
I followed the directions from the github link on the sparkline JS edit (line 59), and it now works in IE10!
Would you be able to check this out and update the plugin queary.sparkline.min.js file if you think its appropriate?
I am not a developer, so take this with a grain of salt ??
Thanks for the great plugin!