在类似于theQCustomPlotfinancialdemo的项目中我想不仅将QCPItemRect绘制到图表区域,还要绘制到图表下方的区域。有QCPAxisRect*xRect=newQCPAxisRect(this->ui.customPlot)...this->ui.customPlot->plotLayout()->addElement(1,0,xRect);我想添加QCPItemRect之类的QCPItemRect*xItem=newQCPItemRect(this->ui.customPlot);xItem->setPen(QPen(Qt::black));xItem->