Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
128
rated 0 times [  130] [ 2]  / answers: 1 / hits: 53747  / 13 Years ago, wed, april 6, 2011, 12:00:00

Does anyone know how one can set the label or title of an axis in Flot?



I've read the API but it doesn't seem to have that feature...



Thanks :)


More From » flot

 Answers
16

There are none built-in to flot.



Your best bet is to do it yourself via positioned divs, but if you are adventurous, you can look at the issue (Or the original issue) and see how other people have dealt with it.



Specifically, there are two people who have recently made label-related revisions to flot:



https://github.com/RuiPereira/flot/raw/axislabels/jquery.flot.axislabels.js



http://github.com/xuanluo/flot-axislabels


[#92883] Tuesday, April 5, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
harleyaleenag

Total Points: 678
Total Questions: 121
Total Answers: 105

Location: Papua New Guinea
Member since Thu, Jul 9, 2020
4 Years ago
harleyaleenag questions
Thu, May 5, 22, 00:00, 2 Years ago
Wed, Aug 19, 20, 00:00, 4 Years ago
;