CartesianPlotLegend

Legend for the cartesian plot.

Public Methods

void

CartesianPlotLegend(const QString &name)

Background*

background() const

Line*

borderLine() const

void

finalizeAdd() override

void

handleResize(double horizontalRatio, double verticalRatio, bool pageResize) override

QIcon

icon() const override

bool

load(XmlStreamReader *, bool preview) override

void

loadThemeConfig(const KConfig &config) override

void

retransform() override

void

save(QXmlStreamWriter *) const override

void

setZValue(qreal) override

TextLabel*

title()

Detailed Description

class CartesianPlotLegend : public WorksheetElement

Legend for the cartesian plot.

Public Functions

virtual QIcon icon() const override

Returns an icon to be used in the project explorer.

virtual void save(QXmlStreamWriter*) const override

Save as XML.

virtual bool load(XmlStreamReader*, bool preview) override

Load from XML.

virtual void setZValue(qreal) override

overrides the implementation in WorksheetElement and sets the z-value to the maximal possible, legends are drawn on top of all other object in the plot.