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 :)
i'm using this workaround:
yaxis: { tickFormatter: function(val, axis) { return val < axis.max ? val.toFixed(2) : "CZK/l";} }
Very simple, the max value on the Y axis is replaced by a custom string. I've not tested on the X axis, but I see no reason why it shouldn't work.