How to show axis lables in bold font in Flotr2 Charts

891 views Asked by At

Im using Flotr2 Charts.

Can anyone help me to show the axis lables in bold font.

Here is the image: enter image description here

Here is the flotr2 charts link for reference: http://www.humblesoftware.com/flotr2/index#!advanced-titles

1

There are 1 answers

4
Paul Facklam On

For the given example (http://www.humblesoftware.com/flotr2/index#!advanced-titles) set

HtmlText : true

and

tickFormatter : function (n) { return '<strong>('+n+')</strong>'; }

That should do the trick.