qt串口波形显示,qchartview绘图

![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/958213456486176.png "#
为什么会画出来多条直线