Search found 3 matches

by NickDeGraeve
Sun Aug 04, 2013 8:04 am
Forum: JFreeChart
Topic: Subscript in axis labels
Replies: 8
Views: 10166

Re: Subscript in axis labels

Hi I did a test and it seems to work. The only remark I have is that the position and font properties of the label are different when I set a normal or an attributed one. And I haven't been able to match both. But for me that isn't a showstopper. I'm just glad I'll have subscript functionality. When...
by NickDeGraeve
Wed Jul 31, 2013 7:29 am
Forum: JFreeChart
Topic: Subscript in axis labels
Replies: 8
Views: 10166

Re: Subscript in axis labels

I've never used AttributedString before but I'll give it a try. I'll report back any success/failure.
Thanks.

As a side note, why is there such a limited support for sub-/superscript? I would suspect it would be quite a common requirement.
Is this something that's on the roadmap?
by NickDeGraeve
Mon Jul 29, 2013 9:18 am
Forum: JFreeChart
Topic: Subscript in axis labels
Replies: 8
Views: 10166

Subscript in axis labels

How can I use subscript in the label of the X-axis of an XYPlot?

I need to label C<sub>L</sub> and C<sub>T</sub> so I can't use Unicode. From what I learned from googling it might be possible using Annotations (XYImageAnnotation?) but I can't figure out how to (re)place the label.

Thanks,
Nick