mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2025-01-13 01:10:33 +08:00
documentation fixed
This commit is contained in:
parent
9dbfd6e173
commit
eb9a1d5a92
@ -126,66 +126,64 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPFilledCurveYErrorGraph: public JKQTPFilledCurv
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*! \brief This implements filled curve plots where the area is filled between two data columns for each x-value
|
/** \brief This implements filled curve plots where the area is filled between two data columns for each x-value
|
||||||
\ingroup jkqtplotter_filledgraphs
|
* \ingroup jkqtplotter_filledgraphs
|
||||||
|
*
|
||||||
With setDrawlines(false):
|
* With \c setDrawlines(false):
|
||||||
\image html JKQTPFilledVerticalRangeGraph.png
|
*
|
||||||
|
* \image html JKQTPfilledVerticalRangeGraph.png
|
||||||
With setDrawlines(true):
|
*
|
||||||
\image html JKQTPFilledVerticalRangeGraph_WithLines.png
|
* With \c setDrawlines(true):
|
||||||
|
*
|
||||||
|
* \image html JKQTPfilledVerticalRangeGraph_WithLines.png
|
||||||
|
*
|
||||||
\see \ref JKQTPlotterDateTimeAxes
|
* \see \ref JKQTPlotterDateTimeAxes
|
||||||
*/
|
*/
|
||||||
class JKQTPLOTTER_LIB_EXPORT JKQTPFilledVerticalRangeGraph: public JKQTPXYGraph, public JKQTPGraphLineStyleMixin, public JKQTPGraphFillStyleMixin {
|
class JKQTPLOTTER_LIB_EXPORT JKQTPFilledVerticalRangeGraph: public JKQTPXYGraph, public JKQTPGraphLineStyleMixin, public JKQTPGraphFillStyleMixin {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
/** \brief class constructor */
|
/** \brief class constructor */
|
||||||
JKQTPFilledVerticalRangeGraph(JKQTBasePlotter* parent=nullptr);
|
JKQTPFilledVerticalRangeGraph(JKQTBasePlotter* parent=nullptr);
|
||||||
/** \brief class constructor */
|
/** \brief class constructor */
|
||||||
JKQTPFilledVerticalRangeGraph(JKQTPlotter* parent);
|
JKQTPFilledVerticalRangeGraph(JKQTPlotter* parent);
|
||||||
/** \brief get the maximum and minimum y-value of the graph
|
/** \brief get the maximum and minimum y-value of the graph
|
||||||
*
|
*
|
||||||
* The result is given in the two parameters which are call-by-reference parameters!
|
* The result is given in the two parameters which are call-by-reference parameters!
|
||||||
*/
|
*/
|
||||||
virtual bool getYMinMax(double& miny, double& maxy, double& smallestGreaterZero) override;
|
virtual bool getYMinMax(double& miny, double& maxy, double& smallestGreaterZero) override;
|
||||||
|
|
||||||
/** \copydoc JKQTPGraph::usesColumn() */
|
/** \copydoc JKQTPGraph::usesColumn() */
|
||||||
virtual bool usesColumn(int column) const override;
|
virtual bool usesColumn(int column) const override;
|
||||||
|
|
||||||
/** \brief plots the graph to the plotter object specified as parent */
|
/** \brief plots the graph to the plotter object specified as parent */
|
||||||
virtual void draw(JKQTPEnhancedPainter& painter) override;
|
virtual void draw(JKQTPEnhancedPainter& painter) override;
|
||||||
/** \brief plots a key marker inside the specified rectangle \a rect */
|
/** \brief plots a key marker inside the specified rectangle \a rect */
|
||||||
virtual void drawKeyMarker(JKQTPEnhancedPainter& painter, QRectF& rect) override;
|
virtual void drawKeyMarker(JKQTPEnhancedPainter& painter, QRectF& rect) override;
|
||||||
/** \brief returns the color to be used for the key label */
|
/** \brief returns the color to be used for the key label */
|
||||||
virtual QColor getKeyLabelColor() const override;
|
virtual QColor getKeyLabelColor() const override;
|
||||||
|
|
||||||
/*! \copydoc yColumn2 */
|
/*! \copydoc yColumn2 */
|
||||||
void setYColumn2(int __value);
|
void setYColumn2(int __value);
|
||||||
/*! \copydoc yColumn2 */
|
/*! \copydoc yColumn2 */
|
||||||
int getYColumn2() const;
|
int getYColumn2() const;
|
||||||
/*! \copydoc yColumn2 */
|
/*! \copydoc yColumn2 */
|
||||||
void setYColumn2 (size_t __value);
|
void setYColumn2 (size_t __value);
|
||||||
|
|
||||||
/*! \copydoc drawLine */
|
/*! \copydoc drawLine */
|
||||||
void setDrawLine(bool __value);
|
void setDrawLine(bool __value);
|
||||||
/*! \copydoc drawLine */
|
/*! \copydoc drawLine */
|
||||||
bool getDrawLine() const;
|
bool getDrawLine() const;
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
/** \brief the column that contains the second y-component of the range */
|
/** \brief the column that contains the second y-component of the range */
|
||||||
int yColumn2;
|
int yColumn2;
|
||||||
|
|
||||||
/** \brief indicates whether to draw a line or not */
|
/** \brief indicates whether to draw a line on the circumference of the described area (i.e. along the data points from \c xColumn and \c yColumn as well as \c xColumn and \c yColumn2 or not */
|
||||||
bool drawLine;
|
bool drawLine;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif // jkqtpgraphsfilledcurve_H
|
#endif // jkqtpgraphsfilledcurve_H
|
||||||
|
Loading…
Reference in New Issue
Block a user