文章目录

  • 前言
  • 一、QCustomPlot 是什么?
  • 二、基本概念
    • 1.QCustomPlot
    • 2.QCPLayer
    • 3.QCPAbstractPlottable
  • 三、简单使用
  • 四、简单封装
  • 总结


前言

QCustomPlot是一个开源的基于Qt的第三方绘图库,能够绘制漂亮的2D图形。
QCustomPlot的官方网址:https://www.qcustomplot/
从官网下载QCustomPlot的源文件,包括qcustomplot.h和qcustomplot.cpp。


一、QCustomPlot 是什么?

QCustomPlot 是一个Qt三方图表库,在 QChart 还未免费开放时,应该是一个很受欢迎的三方库。即使现在 QChart 已经可以免费使用了,有些功能使用 QCustomPlot 实现,体验也非常棒!下图为 QCustomPl

更多推荐

Qt之开源绘图控件QCustomPlot