how to adjust the distance between axis and chart in QChart
Unsolved
General and Desktop
-
-
these code are from Qt Charts Examples Logarithmic Axis Example:
QValueAxis *axisX = new QValueAxis();
axisX->setTitleText("Data point");
axisX->setLabelFormat("%i");
axisX->setTickCount(series->count());
chart->addAxis(axisX, Qt::AlignBottom);
series->attachAxis(axisX);I want to put the label "Data point" closer to the axis, how to do this?