addGraph function return value fixed (#140)

authored-by: Sajad Hosseini <s.hosseinirostami@halm.de>
This commit is contained in:
seyed sajad hosseini rostami 2024-10-16 13:22:28 +02:00 committed by GitHub
parent 8ff150ab01
commit 2e0d0d7540
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -781,7 +781,7 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPlotter: public QWidget {
inline void clearGraphs(bool deleteGraphs=true) { plotter->clearGraphs(deleteGraphs); } inline void clearGraphs(bool deleteGraphs=true) { plotter->clearGraphs(deleteGraphs); }
/** \copydoc JKQTBasePlotter::addGraph() */ /** \copydoc JKQTBasePlotter::addGraph() */
inline void addGraph(JKQTPPlotElement* gr) { plotter->addGraph(gr); } inline size_t addGraph(JKQTPPlotElement* gr) { return plotter->addGraph(gr); }
/** \copydoc JKQTBasePlotter::addGraphOnTop() */ /** \copydoc JKQTBasePlotter::addGraphOnTop() */
inline void addGraphOnTop(JKQTPPlotElement* gr) { plotter->addGraphOnTop(gr); } inline void addGraphOnTop(JKQTPPlotElement* gr) { plotter->addGraphOnTop(gr); }
/** \copydoc JKQTBasePlotter::addGraphAtBottom() */ /** \copydoc JKQTBasePlotter::addGraphAtBottom() */