Open GoogleCodeExporter opened 9 years ago
It seems the only way to do this without touching the library is to write a
complete
replacement for draw() - the draw hooks are called after the series are drawn,
so one
cannot add modified gridlines under the plot. Not something I want to do.
I think the best option is to add a drawgrid hook which is called according to
the
value of grid.aboveData regardless of grid.show, but after drawGrid so one has
the
choice of adding something to the grid or replacing the function completely.
This would give scope for a plugin to improve grid functionality while resting
compatible with existing applications.
Original comment by graham...@orange.fr
on 4 Apr 2010 at 8:47
The code to add the new hook is trivial (thanks to good design of the library),
and I
was able to achieve what I wanted by copying and modifying setupGrid().
Original comment by graham...@orange.fr
on 7 Apr 2010 at 5:22
I'd definitely like the grid code to be more flexible, both configuration-wise
and
with respect to replacing it entirely.
Original comment by olau%iol...@gtempaccount.com
on 12 Apr 2010 at 1:07
[deleted comment]
Indeed, support for minor ticks (grid lines without labels) would be great.
Thanks for making this excellent library available!
Original comment by sti...@gmail.com
on 30 Dec 2010 at 11:00
Hi..I'm not very familiar with the usage of this library..I also have an
assignment in which i need to draw major and minor grid lines using flot..Could
you please help me out?
Original comment by gouri.na...@gmail.com
on 8 Jun 2011 at 5:10
Hi,
Do you get fix for this ? Please provide link or piece of code needed to be
added to support major and minor grids
Original comment by vivekwa...@gmail.com
on 6 Dec 2011 at 7:46
Original comment by dnsch...@gmail.com
on 7 May 2012 at 8:48
Just so you all know, a workaround was posted in StackExchange for this:
http://stackoverflow.com/questions/25520793/major-and-minor-ticks-in-flot
Original comment by jonathan...@gmail.com
on 7 Jan 2015 at 7:21
Original issue reported on code.google.com by
graham...@orange.fr
on 30 Mar 2010 at 6:31