QCustomPlot is a small and easy-to-use QT chart plugin. A library for drawing curve graphs, trend graphs, coordinate graphs, histograms and other similar two-dimensional graphs. Implements most of the 2D graphics rendering. When using it, after we have written the relevant calling code in the program, we only need to add the two files QCunstomPlot.cpp and QCustomPlot.h to the project and compile it normally. It is authorized by GPL and supports cross-platform C/C++ language.
1. Download QCustomPlot and unzip it
Copy QCunstomPlot.cpp and QCustomPlot.h to the project directory
2. Create a QCustomPlotTest project
Add QCunstomPlot.cpp and QCustomPlot.h to the project