faheem801 / flot

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

Zero length bars still show as a thin line (outline?) #391

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Zero length bars still show as a thin line (outline?. It would be nice that if 
the length of the bar is zero (it's base and top are exactly the same point), 
that it not be drawn at all.

Original issue reported on code.google.com by zenbones...@gmail.com on 9 Aug 2010 at 9:29

GoogleCodeExporter commented 9 years ago
Simply changing the behavior isn't a good idea, since that border is often 
desirable as a way to still see and interact with data near/on the x-axis.

One compromise is to allow lineWidth to accept a function; users who want 
invisible zero-bars could put that logic there.  Accepting this as an 
enhancement, but needs more thought.

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 7:35