Class: PlotLabel

Class: PlotLabel

A class representing a plot label.


string text

Contains the text contents of the label. This may include carriage returns (\n), scalar references of the form [scalar_name], and some basic LaTeX.

string font

Used to set or get the current font used for the label.

number fontSize

Contains the size of the font used to draw the label.

number justification

The horizontal justification for the label. This is a bit field. The values are as follows:

  • 0 - Justify None

  • 1 - Justify Left / Top

  • 2 - Justify Right / Bottom

  • 3 - Justify Center

number dataPrecision

Contains the number of digits of precision to display data values in the label. Restricted to a value between 0 and 16 inclusive.


Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team