youcef92 / flotr

Automatically exported from code.google.com/p/flotr
0 stars 0 forks source link

IE8 - redraw chart shows up blank #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I've only seen this on IE8.  If I attempt to redraw a chart into the same
element, the chart will be cleared out and show up blank.

For example, I call
var f = Flotr.draw(myDivElem, data, chartOpts);
and then call the same thing again when they press a refresh button.

I see the same type of behavior using the flotr plaground.
Just load the page using IE8
(http://phenxdesign.net/projects/flotr/playground/)
and press the "Draw!" button.  Note that the chart disappears.

What version of the product are you using? On what operating system?
flotr_r123
Windows XP SP2 and Windows Vista

Please provide any additional information below.

I noticed that in flotr.js, if I comment out this line:
  el.childElements().invoke('remove');
The issue goes away.
This obviously isn't a solution, but may give a clue to what the problem is.

Original issue reported on code.google.com by pplaydo...@gmail.com on 8 Jun 2009 at 1:51

GoogleCodeExporter commented 8 years ago
Fixed !

Original comment by fabien.menager on 22 Jun 2009 at 7:07