QCustomPlot Discussion and Comments

Rich text supportReturn to overview


is there a way to display plot title and labels using rich text (e.g. subscript and superscript)?



For subscript and superscript, I use utf8 characters directly.

For example: http://www.fileformat.info/info/unicode/char/b9/index.htm

I don't think there is an easy way for rich text (ie: a single word in bold) but setFont and setColor can customize your title.

if you created your own item, you could do rich text with html.
since qpainter is used to draw, this is a good example for you: