1 | ## jquery.flot.logaxis
|
2 | This plugin is used to create logarithmic axis. This includes tick generation,
|
3 | formatters and transformers to and from logarithmic representation.
|
4 |
|
5 | ### Methods and hooks
|
6 |
|
7 |
|
8 | - logTickGenerator(plot, axis, noTicks)
|
9 |
|
10 | Generates logarithmic ticks, depending on axis range.
|
11 | In case the number of ticks that can be generated is less than the expected noTicks/4,
|
12 | a linear tick generation is used.
|
13 |
|
14 |
|
15 | - logTickFormatter(value, axis, precision)
|
16 |
|
17 | This is the corresponding tickFormatter of the logaxis.
|
18 | For a number greater that 10^6 or smaller than 10^(-3), this will be drawn
|
19 | with e representation
|
20 |
|
21 |
|
22 | - setDataminRange(plot, axis)
|
23 |
|
24 | It is used for clamping the starting point of a logarithmic axis.
|
25 | This will set the axis datamin range to 0.1 or to the first datapoint greater then 0.
|
26 | The function is usefull since the logarithmic representation can not show
|
27 | values less than or equal to 0.
|