Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

display content on highcharts Xaxis and Yaxis title in form of subscript and superscript

I am using a highcharts for my application to display mathmatical calculation and electical terminology so I need to display elctrical term on highcharts Xaxis title and Yaxis title on form of superscript and subscript I have tried no of ways but yet I don't get any soln html sub and sup tags are not working there please give me any proper solution.

like image 871
user2717073 Avatar asked Aug 26 '13 06:08

user2717073


1 Answers

Consider using useHTML property:

...
//some options
title: {
   useHTML: true,
   text: "<sub>sub</sub>normal<sup>sup</sup>"
}
//other options
...
like image 102
Artyom Neustroev Avatar answered Sep 18 '22 22:09

Artyom Neustroev