plotArea属性的,返回的是QRectF类
ui->chartView->chart()->plotArea().width()
Qt QChart 如何获取坐标轴的高度和宽度
原文:https://www.cnblogs.com/ybqjymy/p/14312818.html