Compare commits

...

2 Commits

2 changed files with 6 additions and 2 deletions

View File

@ -5936,7 +5936,8 @@ void FormDraw::initDepth(QMyCustomPlot *curv)
{
// x轴隐藏
curv->yAxis->setTicks(true);
curv->yAxis->setTickLabels(true);
curv->yAxis2->setVisible(false);
//curv->yAxis->setTickLabels(true);
curv->yAxis->setTickLabelSide(QCPAxis::lsInside);
QFont font1("微软雅黑", 8);
@ -5944,7 +5945,7 @@ void FormDraw::initDepth(QMyCustomPlot *curv)
curv->yAxis->setRange(m_iY1, m_iY2);
//curv->yAxis->setRangeReversed(true);
curv->axisRect()->setupFullAxesBox();
//curv->axisRect()->setupFullAxesBox();
curv->yAxis->ticker()->setTickCount(60);//y个主刻度
curv->m_bX2Y = false;
}

View File

@ -74,6 +74,9 @@ QMyCustomPlot::QMyCustomPlot(QWidget *parent, QString strSlfName, QString strWel
xAxis2->setTickLabels(false);
xAxis2->setTickLabels(false);
xAxis->grid()->setVisible(false);
yAxis->grid()->setVisible(false);
//套管组件
zoneOrder_Tubing.clear();
if(zoneOrder_Tubing.size()==0)