diff --git a/doc/dox/whatsnew.dox b/doc/dox/whatsnew.dox index 26d41f0ed8..c2b93f8fe2 100644 --- a/doc/dox/whatsnew.dox +++ b/doc/dox/whatsnew.dox @@ -58,11 +58,12 @@ Changes, compared to \ref page_whatsnew_V4_0_0 "v4.0.0" include:
  • FIXED issue mentioned in #110: Lock the panning action to certain values: View zooms in, when panning close to AbosluteXY (thanks to user:sim186 for reporting)
  • FIXED: jkqtpstatSum() and jkqtpstatSumSqr() did not work, as a non-existing function is called internally
  • FIXED removed unnecessary operators (<,>,<=,>=) from JKQTPColumnIterator and JKQTPColumnConstIterator, which lead to exceptions on some compilers (MSVC)
  • -
  • FIXED/IMPROVED issue #100: Add option to disable resize delay feature by setting the delay to zero (thanks to user:fpalazzolo for reporting)
  • +
  • FIXED/IMPROVED issue #100: Add option to disable resize delay feature by setting the delay to zero (thanks to user:fpalazzolo for reporting)
  • +
  • FIXED symmetry when zooming with JKQTBasePlotter::zoomIn() or JKQTBasePlotter::zoomOut()
  • FIXED/NEW: placement of plot-title (was not centerd in its box, but glued to the bottom) by adding a plotstyle parameter JKQTBasePlotterStyle::plotLabelOffset
  • FIXED/REWORKED issue #111: Can't write to PDF files with JKQTPlotter::saveImage() when passing a filename ending in ".pdf" (thanks to user:fpalazzolo for reporting):
    While fixing this issue, the functions JKQTBasePlotter::saveImage() etc. gained a bool return value to indicate whether sacing was successful.
  • IMPROVED/FIXED outside space requirements for color bars. Text was sometime too close to the plot border.
  • +
  • FIXED issue #140: addGraph function return value by adding return values to all addGraph()-Variants in JKQTPlotter (to mirror the interface of JKQTBasePlotter), (thanks to user:sajadblog
  • REWORKED JKQTBasePlotter::saveData() with a more consistent interface and a bool return value to indicate success or failure + improved documentation, added methods to JKQTPSaveDataAdapter that allow to specify file extensions and an ID for the plugin.
  • REWORKED: separation and gruping factor for barcharts on autoscaling
  • REORGANIZED: separated line-graphs from jkqtpscatter.h/.cpp into jkqtplines.h/.cpp
  • diff --git a/lib/jkqtplotter/jkqtplotter.h b/lib/jkqtplotter/jkqtplotter.h index 5de081c441..4da89d5f27 100644 --- a/lib/jkqtplotter/jkqtplotter.h +++ b/lib/jkqtplotter/jkqtplotter.h @@ -783,9 +783,9 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPlotter: public QWidget { /** \copydoc JKQTBasePlotter::addGraph() */ inline size_t addGraph(JKQTPPlotElement* gr) { return plotter->addGraph(gr); } /** \copydoc JKQTBasePlotter::addGraphOnTop() */ - inline void addGraphOnTop(JKQTPPlotElement* gr) { plotter->addGraphOnTop(gr); } + inline size_t addGraphOnTop(JKQTPPlotElement* gr) { return plotter->addGraphOnTop(gr); } /** \copydoc JKQTBasePlotter::addGraphAtBottom() */ - inline void addGraphAtBottom(JKQTPPlotElement* gr) { plotter->addGraphAtBottom(gr); } + inline size_t addGraphAtBottom(JKQTPPlotElement* gr) { return plotter->addGraphAtBottom(gr); } /** \copydoc JKQTBasePlotter::moveGraphTop() */ inline void moveGraphTop(JKQTPPlotElement* gr) { plotter->moveGraphTop(gr); }