Codebase list libjs-jquery-flot-axislabels / 3781996
Update README for new contributions. Mark Côté 10 years ago
1 changed file(s) with 12 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
99 * stdexcept
1010 * Clemens Stolle
1111 * Michael Haddon
12 * andig
13 * Alex Pinkney
1214
1315 [flot-axislabels](https://github.com/markrcote/flot-axislabels) provides
1416 flot with the ability to label axes. It supports any number of axes. It
3537
3638 $(function () {
3739 var options = {
40 axisLabels: {
41 show: true
42 },
3843 xaxes: [{
3944 axisLabel: 'foo',
4045 }],
5762 Usage
5863 -----
5964
60 flot-axislabel adds several options to the axis objects. The two main ones
65 flot-axislabel adds an axisLabels object to the global options object.
66 It supports one option:
67
68 * show (bool): display all axis labels (default: true)
69
70 There are also several options added to the axis objects. The two main ones
6171 are
6272
6373 * axisLabel (string): the text you want displayed as the label
6878 either canvas or HTML mode by setting axisLabelUseCanvas or axisLabelUseHtml,
6979 respectively, to true.
7080
71 Canvas mode supports two other options:
81 Canvas mode supports several other options:
7282
7383 * axisLabelFontSizePixels (int): the size, in pixels, of the font (default: 14)
7484 * axisLabelFontFamily (string): the font family of the font (default: