Qt QChart 如何获取坐标轴的高度和宽度

plotArea属性的,返回的是QRectF类

ui->chartView->chart()->plotArea().width()
原文地址:https://www.cnblogs.com/ybqjymy/p/14312818.html