Hide YAxis numbers in QChartView
Unsolved
General and Desktop
-
Hi, I need a simple chart with a single vertical bar. I found a nice example in http://doc.qt.io/qt-5/qtcharts-stackedbarchart-example.html
I would like to hide the numbers which appear near the Y axis, how do I do that?
Thx -
@nzur
The doc says http://doc.qt.io/qt-5/qtcharts-stackedbarchart-example.htmlFor the y-axis we use default axis, which is created and scaled to series data by calling createDefaultAxes of the chart.
So remove
chart->createDefaultAxes()
? -
Worked, THX!!!
1/3