joetsoi/flot-barnumbers — pull request #8 by deepasaj (2014-02-10 12:52:11+00:00)
Title: Added additional options for better positioning and formatting bar numbers

The below options place the formatted bar number little above the bar ...

```javascript
numbers: {
yAlign: function (x) {
return x;
},
textBaseline: "bottom",
offsetY: 5,
numberFormatter: function(value) {
var precision = 2;
var formattedText;
if (value >= 10000000)
formattedText = (value / 10000000).toFixed(precision) + ' C ';
else if (value >= 100000)
formattedText = (value / 100000).toFixed(precision) + ' L ';
else if (value >= 1000)
formattedText = (value / 1000).toFixed(precision) + ' K ';
else
formattedText = value.toFixed(precision);
return formattedText;
}
}
```