A solution would be doing something like this: m_chart->legend()->setAlignment(Qt::AlignTop);
QApplication::processEvents(); m_chart->legend()->setY(m_chart->plotArea().height() - m_chartView->height() ); Which feels like a big hack. Is there a better way? On 11 April 2018 at 10:18, Richard Weickelt <rich...@weickelt.de> wrote: > Hi, > > is there a way to set Qt::PreciseTimer as the default timer type for all > QTimer instances in an application? According to the QTimer documentation > [1], Qt::CoarseTimer is the default. > > Thanks > Richard > > [1] http://doc.qt.io/qt-5/qtimer.html#timerType-prop > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest