gmmoraesbr / flot

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

When multiple bars are plotted on top of each other only the first of them can be hovered over. #331

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
$("#utilization_graph").bind("plothover", function (event, pos, item) {
}

this binding could actually return list of items, which it is hovering not
only the first one. Or at least in case of bars, it could select shortest
bar as item, because then longer bars could be hovered over top of shorter.

Here i sexample how it works now

http://screencast.com/t/Y2I3MjU1N

Original issue reported on code.google.com by elh...@gmail.com on 8 Apr 2010 at 7:51

GoogleCodeExporter commented 8 years ago
Interesting idea. I think I ought to split the hover stuff into a plugin and 
refactor it a bit, this may be an idea for improving it at that point.

Original comment by olau%iol...@gtempaccount.com on 13 Dec 2010 at 3:26

GoogleCodeExporter commented 8 years ago
Issue 359 has been merged into this issue.

Original comment by olau%iol...@gtempaccount.com on 13 Dec 2010 at 5:13

GoogleCodeExporter commented 8 years ago
Simple solution is z-ordering bars by size. Big bar - low zindex, small bar - 
high.

Original comment by oleksiy....@gmail.com on 25 Feb 2011 at 5:25

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
Issue 511 has been merged into this issue.

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