ErrorBar
A description for ErrorBar.
-
class ErrorBar : public AbstractAspect
This class contains the properties of the error bars used in different plot classes.
Public Functions
-
virtual void save(QXmlStreamWriter*) const override
Save as XML.
-
virtual bool load(XmlStreamReader*, bool preview) override
Load from XML.
-
QPainterPath painterPath(const QVector<QPointF>&, const CartesianCoordinateSystem*, WorksheetElement::Orientation = WorksheetElement::Orientation::Vertical) const
calculates and returns the painter path for the error bars. The error bars are placed at the points in logical coordinates
points. The transformation to the scene coordinates is done viacSystemthat is owned by the parent plot owning the error bar object. Some plot types like histogram, bar plot, etc. can have different orientations (vertical vs. horizontal) which is provided viaorientation, the error is specified for the y-dimentions for such plot types and is drawn either vertically or horizontally depending on the orientation of the plot.
-
virtual void save(QXmlStreamWriter*) const override