HumbleSoftware / Flotr2

Graphs and Charts for Canvas in JavaScript.
http://www.humblesoftware.com/flotr2/
MIT License
2.45k stars 528 forks source link

Legend issue with Internet Explorer 8 #260

Open bresoa opened 10 years ago

bresoa commented 10 years ago

i'm trying to create a line chart using flotr2 chart library. The problem is that it doesn't work properly with internet explorer 8. My issue is with the legend that is not displayed.

Here the code of my test page:

``` ```
``` ```

Could you please help me?

Thanks!

A-Safwat commented 10 years ago

Have you got a solution for this issue?? I have the same problem :(

bresoa commented 10 years ago

no, at the end i changed chart library...now i'm using jquery flot and all seems to work properly with IE8. http://www.jqueryflottutorial.com/

A-Safwat commented 10 years ago

Thank you Bresoa for reply

And damn IE :(

netoale commented 9 years ago

hi, i've found a correction that works properly on IE9 :

"There is a problem with the way DOM tables are created in IE.

I have overridden the legend insertLegend function in a separate js file and I have updated the code at line: 6887:

if(legend.container){ D.insert(legend.container, table); this.legend.markup = legend.container.childNodes[0]; } else { ... " https://groups.google.com/forum/#!topic/flotr2/PBlN3xYAW-0