Plot
A description for Plot.
-
class Plot : public WorksheetElement
Subclassed by BarPlot, BoxPlot, Histogram, KDEPlot, LollipopPlot, ProcessBehaviorChart, QQPlot, RunChart, XYCurve
Public Functions
-
virtual bool hasData() const = 0
returns
trueif a valid data column is set, returnsfalseotherwise. Used in CartesianPlot to determine whether the curve needs to be taken into account when calculating the data ranges of the plot area.
-
bool activatePlot(QPointF mouseScenePos, double maxDist = -1)
Plot::activatePlot Checks if the mousepos distance to the plot is less than
maxDistmouseScenePosmaxDistMaximum distance the point lies away from the plot.- Returns:
Returns true if the distance is smaller than maxDist.
-
virtual bool hasData() const = 0