faheem801 / flot

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

Improve behavior of minTickSize for time axes #412

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After trying to get flot print ticks for every 15minutes i figured out that it 
wasn't set in var spec (flot.js, Line 799).
If would be great to be able to override/set spec by options. 
(or at least give a hint in the documentation that some ticks may never be 
rendered, even if specified by minTickSize)

Alex 

Original issue reported on code.google.com by a...@modula-shop-systems.de on 4 Sep 2010 at 12:01

GoogleCodeExporter commented 9 years ago
We should consider a fixed tick size option, and improve the docs for 
minTickSize to make it clear that it's just a minimum, not a guarantee of what 
you'll see.  Marking this as an enhancement.

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

GoogleCodeExporter commented 9 years ago
Flot already has a tickSize option and appears to have had it for quite some 
time. tickSize: [15, "minute"] works for me.

Original comment by mrcote on 13 Dec 2012 at 6:36