echarts icon indicating copy to clipboard operation
echarts copied to clipboard

Is there a way to use superindexes and subindexes on labels?

Open pauturvalles opened this issue 7 years ago • 4 comments

Because I am trying to write as labels the mathematical units of some measures, and I would need to write some squared meters as "m2" but with the 2 as superindex instead.

pauturvalles avatar Jan 15 '19 09:01 pauturvalles

@pauturvalles sorry, I am confused about what you want? It would be better if you can provide a picture/demo about what effect you want.

deqingli avatar Jan 15 '19 13:01 deqingli

@pauturvalles sorry, I am confused about what you want? It would be better if you can provide a picture/demo about what effect you want.

Sure, sorry! What I mean is writing the little numbers that you often find in mathematical formulas, as the number two in the following formula: image

I would like to know how can I write those numbers in a label. Thanks again!

Edit: reopening issue, I don't know how I closed it but it was a mistake.

pauturvalles avatar Jan 15 '19 13:01 pauturvalles

Reopened @deqingli

pauturvalles avatar Jan 16 '19 11:01 pauturvalles

I'm afraid this feature is somewhat off the topic that ECharts should provide. So sorry it may not in our next plans. However, you may try with rich text.

Ovilia avatar Feb 03 '19 08:02 Ovilia