jkriege2 / JKQtPlotter

an extensive Qt5 & Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
http://jkriege2.github.io/JKQtPlotter/index.html
GNU Lesser General Public License v2.1
889 stars 190 forks source link

addGraph function return value fixed #140

Closed sajadblog closed 1 month ago

sajadblog commented 1 month ago

Despite basePlotter returning the graph id, Plotter does not pass it to the caller, so I changed it to do so. For upcoming actions, it is important to have the identity of the added graph. The graph id can't be retrieved any easier than this. It is necessary to preserve backward compatibility with v4.0.3.

jkriege2 commented 1 month ago

Thanks!