gmmoraesbr / flot

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

Invalid filling in IE8 and IE7 for very long lines #321

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Check out the following link for a demostration of this bug: 
http://i.imgur.com/HHuDN.png

As you can see, the filling algorithm doesn't fill to value=0, but are 
instead following some random line, including the seemingly random point at 
around Apr 24.

Here's another example, showing two of these seemingly random points: 
http://i.imgur.com/wFTTN.png

It never happens on small sets of data, but if I give it enough rows of 
data, this bug usually do appear.

Not really sure how I would go about fixing this myself; I was looking at 
the code in plotLineArea(), but couldn't really see anything obvious. AFAIK 
this might be a problem with excanvas and not Flot.

Original issue reported on code.google.com by helge...@gmail.com on 11 Mar 2010 at 2:15

GoogleCodeExporter commented 8 years ago
Yeah, it's a bug in IEs VML implementation. It can't draw lines that have too 
many
points. It's a really weird issue. I reported a bug in excanvas, and partly 
fixed it
with a simple patch by splitting the line into pieces. However, this means that
filling won't work (that's the issue you're seeing). I gave up at that point. If
you're interested, the patch is here (it's still not applied, but I'm bundling 
the
patched excanvas with Flot):

http://code.google.com/p/explorercanvas/issues/detail?id=50

I'll leave the bug open for now, but I think it's really something that should 
be
fixed in excanvas. If you can amend my patch to fixup filling, it would be cool.

Original comment by olau%iol...@gtempaccount.com on 15 Mar 2010 at 10:38

GoogleCodeExporter commented 8 years ago
Review this behavior and verify that it's an Excanvas bug, and there's nothing 
we can do in Flot to resolve it.

Original comment by dnsch...@gmail.com on 8 May 2012 at 8:25