Chart title bold

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
falseDmitri
Posts: 5
Joined: Wed Feb 02, 2011 6:15 am
antibot: No, of course not.

Chart title bold

Post by falseDmitri » Sat Feb 05, 2011 10:34 pm

I have a chart title in which I want some text bold and some not, like so:
This is my chart title

I tried embedding html in a String:
String string = "<html><b>This</b> is <b>my</b> string</html>";
but that doesn't work.

I can set the entire title to be bold or not by setting the font, but this is not what I want.
Is this possible?

Locked