diff --git a/logPlus/qmycustomplot.cpp b/logPlus/qmycustomplot.cpp index 84c225f..7bf97a6 100644 --- a/logPlus/qmycustomplot.cpp +++ b/logPlus/qmycustomplot.cpp @@ -10270,6 +10270,8 @@ void QMyCustomPlot::setScaleX(float fx1, float fx2) pGline->setLayer("topLayer"); } + if (m_bRowGridVisible) + drawRowGrid(false); } void QMyCustomPlot::drawGrid() @@ -10311,8 +10313,8 @@ void QMyCustomPlot::setDepthY(float fy1, float fy2) this->m_iY2 = fy2; this->yAxis->setRange(m_iY1, m_iY2); - if (m_bRowGridVisible) - drawRowGrid(); +// if (m_bRowGridVisible) +// drawRowGrid(false); } void QMyCustomPlot::updateDepthY(float fy1, float fy2)