HumbleSoftware/Flotr2 — pull request #9 by jochenberger (2011-10-17 13:21:55+00:00)
Title: Pass axis information to tick formatter

I have a use case where I want to format the x axis' ticks (date values) depending on the axis' range, i.e. minutes precision if a whole day is shown, seconds precision when the user zooms in beyond a certain threshold and so on. So I'd like to be able to decide upon the final format dynamically within the formatter function. Therefore I added information about the axis to the call of the tickFormatter function.