ReferenceRange

A description for ReferenceRange.

class ReferenceRange : public WorksheetElement

This class implements a rectangular that can be placed at a custom reference position on the plot to highlight certain range of the visualized data.

The custom position can be either specified by moving the line with the mouse or by manually providing the start and end values for x or y for the vertical or horizontal orientations, respectively. The coordinates are provided relatively to plot’s coordinate system.

Public Functions

virtual QIcon icon() const override

Returns an icon to be used in the project explorer.

virtual QMenu *createContextMenu() override

Return a new context menu.

The caller takes ownership of the menu.

virtual void save(QXmlStreamWriter*) const override

Save as XML.

virtual bool load(XmlStreamReader*, bool preview) override

Load from XML.