Compare commits

..

No commits in common. "5eb1b2bfcc53b502a8edea41cfdfb26f949b700a" and "aee47ed25a2ebc3284772f6ff14fcb975f209c70" have entirely different histories.

2 changed files with 2 additions and 6 deletions

View File

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

View File

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