修复网格bug
This commit is contained in:
parent
a93d63cf2b
commit
57deb48ab1
|
|
@ -10270,6 +10270,8 @@ void QMyCustomPlot::setScaleX(float fx1, float fx2)
|
||||||
|
|
||||||
pGline->setLayer("topLayer");
|
pGline->setLayer("topLayer");
|
||||||
}
|
}
|
||||||
|
if (m_bRowGridVisible)
|
||||||
|
drawRowGrid(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void QMyCustomPlot::drawGrid()
|
void QMyCustomPlot::drawGrid()
|
||||||
|
|
@ -10311,8 +10313,8 @@ void QMyCustomPlot::setDepthY(float fy1, float fy2)
|
||||||
this->m_iY2 = fy2;
|
this->m_iY2 = fy2;
|
||||||
this->yAxis->setRange(m_iY1, m_iY2);
|
this->yAxis->setRange(m_iY1, m_iY2);
|
||||||
|
|
||||||
if (m_bRowGridVisible)
|
// if (m_bRowGridVisible)
|
||||||
drawRowGrid();
|
// drawRowGrid(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void QMyCustomPlot::updateDepthY(float fy1, float fy2)
|
void QMyCustomPlot::updateDepthY(float fy1, float fy2)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user