Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to adjust the distance between axis and chart in QChart
when adding axis to a QChart, I use addAxis(axis, Qt::AlignLeft), how to adjust the distance between the axis and the chart, I want to shorten the blank.
@jsulm thanks, but 'setmargin' is usable for setting the distance between the plot area border and the plot, not the distance between the axis and the chart
these code are from Qt Charts Examples Logarithmic Axis Example:
QValueAxis *axisX = new QValueAxis();
I want to put the label "Data point" closer to the axis, how to do this?
rhb327 last edited by
Did you ever determine a method for this? Similar issue on a -90 label not sizing correctly with label format, etc.