Flot widget does not support tick formatting
The Flot widget does not support formatting ticks. The Flot JavaScript library provides a "tickFormatter" option for customizing the axes.
Alternatively the "tick" option supports passing in a two-element array to map numeric ticks to a string to display as the label. Here is an example from the the Flot API.txt:
See http://groups.google.com/group/liftweb/browse_thread/thread/c89dcdef4389cd4d?hl=en# for reference.
Alternatively the "tick" option supports passing in a two-element array to map numeric ticks to a string to display as the label. Here is an example from the the Flot API.txt:
ticks: [[0, "zero"], [1.2, "one mark"], [2.4, "two marks"]]
See http://groups.google.com/group/liftweb/browse_thread/thread/c89dcdef4389cd4d?hl=en# for reference.
Leave a comment