Compare commits
2 Commits
aee47ed25a
...
5eb1b2bfcc
| Author | SHA1 | Date | |
|---|---|---|---|
| 5eb1b2bfcc | |||
| 50c0be6684 |
|
|
@ -5936,7 +5936,8 @@ void FormDraw::initDepth(QMyCustomPlot *curv)
|
||||||
{
|
{
|
||||||
// x轴隐藏
|
// x轴隐藏
|
||||||
curv->yAxis->setTicks(true);
|
curv->yAxis->setTicks(true);
|
||||||
curv->yAxis->setTickLabels(true);
|
curv->yAxis2->setVisible(false);
|
||||||
|
//curv->yAxis->setTickLabels(true);
|
||||||
|
|
||||||
curv->yAxis->setTickLabelSide(QCPAxis::lsInside);
|
curv->yAxis->setTickLabelSide(QCPAxis::lsInside);
|
||||||
QFont font1("微软雅黑", 8);
|
QFont font1("微软雅黑", 8);
|
||||||
|
|
@ -5944,7 +5945,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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,9 @@ 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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user