Hi all.
I'm trying to place a char as superscript in a label (LineChart). Is is possible?
Tx for any suggestions.
Using superscript char in LineChart label
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
There probably isn't a way to do it without modifying JFreeChart (and using AttributedString, maybe). Which label do you want to change - axis label, tick label, some other label?
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Hi and sorry for my late response. I was out of town for couple days.david.gilbert wrote:There probably isn't a way to do it without modifying JFreeChart (and using AttributedString, maybe). Which label do you want to change - axis label, tick label, some other label?
In fact I would like to change series label caus my data are often something like ug*L^1, where ^1 is the superscript expression.
I'll check if I could not implement it by myself. If you have any other suggestion please share it

Best regards and have a nice day,
Phil