#ifndef CHART_H #define CHART_H /* * 图表类,用来绘制各种图表 */ #include "QCustomPlot/qcustomplot.h" class Chart { public: Chart(QCustomPlot* customPlot); //绘制折线图 void plotPolyline(QVector xData,QVector yData); private: QCustomPlot* customPlot; }; #endif // CHART_H