详讲QCustomPlot

## 搬运:

QCustomplot使用分享(一) 能做什么事

QCustomplot使用分享(二) 源码解读

QCustomplot使用分享(三) 图

QCustomplot使用分享(四) QCPAbstractItem

QCustomplot使用分享(五) 布局

QCustomplot使用分享(六) 坐标轴和网格线

QCustomplot使用分享(七) 层

QCustomplot使用分享(八) 绘制图表-加载cvs文件

 

## 2.0以上版本开启OPENGL支持

在pro文件加入:

DEFINES += QCUSTOMPLOT_USE_OPENGL

在cpp写: 


#ifdef QCUSTOMPLOT_VERSION
    
    ui->plot->setOpenGl(true);
    qDebug()<<"opengl="<plot->openGl();
    
#endif

 

你可能感兴趣的:(qt)