newline in QDateTimeAxis::setFormat
Unsolved
General and Desktop
-
Do you mean like
QDateTimeAxis *axisX = new QDateTimeAxis;
axisX->setFormat("dd-MM-yyyy h:mm");
chartView->chart()->setAxisX(axisX, series);It uses the format from
http://doc.qt.io/qt-5/qdatetime.htmlAnd there is no concept of new line so
not sure its possible if its given
directly to a QDateTime class.What did u try ?
-
try <br> it worked for me
-
@Henrik-Rasmussen Thanks, that helped!