A plot legend.
Inherits: BorderedViewObject
Collection class: ViewObjectCollection
addCurve ( curve )
removeCurve ( curve )
ViewObject parent - The parent to place the new legend in. May also be a string containing the name of an existing ViewObject.
Window window - The window to place the new legend in. May also be a string containing the name of an existing Window.
string curve - The curve to be added. This can be either the name of the curve or a reference to the curve.
Throws: TypeError - Throws this exception if the curve could not be found.
string curve - The curve to be removed. This can be either the name of the curve or a reference to the curve.
Throws: TypeError - Throws this exception if the curve could not be found.
The list of curves shown in the legend.
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team