sunjavagroups / flot

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

Canvas Class Name Too Common #543

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I was struggling with an issue using flot recently. It turns out that I had an 
'overlay' style defined. That was adding styles to the canvas, and was causing 
issues. Since the class name 'overlay' seems common and so does 'base', I 
suggest changing the class names assigned to the canvas elements to something 
more flot centric. I ended up doing the following in the 'setupCanvases' 
function:

canvas = makeCanvas(true, "flot-base");
overlay = makeCanvas(false, "flot-overlay");

This fixed the conflict for me.

Please feel free to contact me if you have questions: 
bob.cravens_NO_SPAM@gmail.com (remove the _NO_SPAM text).

Bob

Original issue reported on code.google.com by bob.crav...@gmail.com on 30 May 2011 at 10:21

GoogleCodeExporter commented 8 years ago

Original comment by olau%iol...@gtempaccount.com on 3 Jun 2011 at 4:08

GoogleCodeExporter commented 8 years ago

Original comment by dnsch...@gmail.com on 7 May 2012 at 11:29

GoogleCodeExporter commented 8 years ago
Hello Bob, 

I have a problem displaying my data points in flot graph. When I inspect the 
output, I see that canvas.flot.overlay is highlighted. When I google I found 
your post and made a change to jquery.flot.js but I still have problems. What 
do you suggest?

Original comment by acacia2...@gmail.com on 20 Feb 2013 at 12:37

GoogleCodeExporter commented 8 years ago
Hi Acacia,
We're not using this issue tracker anymore; issues have been migrated to 
Github.  This sort of question should be asked on the forum 
(http://groups.google.com/group/flot-graphs), but please include a more info 
about the problem; what you've given isn't enough to work from.

Original comment by dnsch...@gmail.com on 20 Feb 2013 at 1:47