As the title says how do I add superscript fonts to the axis labels in a jqplot graph?
I tried using Javascript sup() function and also actual html tags for the titles of the axes but to no vain.
Basically I need to display units like m3 etc. Do I have to tinker with the AxisLabelRenderer or is there any obvious workaround I am missing?
Thanks.
Here's another answer, with HTML entities, which also works in jqPlot:
¹
(¹)²
(²)³
(³)For example (m²):
You can use unicode characters for do that;
try this: