unable to turn off grid lines of QLogValueAxis
-
Hi,
You should post a minimal compilable example that reproduces this.
By the way, what version of Qt are you using ?
-
I am testing this example
https://doc.qt.io/qt-5/qtcharts-logvalueaxis-main-cpp.htmlI can turn off the grid lines of x axis, but y axis.
I am using Q5-5.11.1 -
@JoeCFD said in unable to turn off grid lines of QLogValueAxis:
setGridLineVisible(false)
You need to add
yAxis->setMinorGridLineVisible(false);
-
Or remove the
setMinorTickCount
call. -
@JoeCFD said in unable to turn off grid lines of QLogValueAxis:
setGridLineVisible(false)
You need to add
yAxis->setMinorGridLineVisible(false);
@SGaist said in unable to turn off grid lines of QLogValueAxis:
You need to add yAxis->setMinorGridLineVisible(false);
So that one ?
-
@SGaist said in unable to turn off grid lines of QLogValueAxis:
You need to add yAxis->setMinorGridLineVisible(false);
So that one ?
@SGaist said in unable to turn off grid lines of QLogValueAxis:
@SGaist said in unable to turn off grid lines of QLogValueAxis:
You need to add yAxis->setMinorGridLineVisible(false);
So that one ?
This works fine. Thanks a lot. Have a good one.