Skip to content

Commit

Permalink
performance fix
Browse files Browse the repository at this point in the history
  • Loading branch information
orkblutt committed Mar 21, 2018
1 parent be57190 commit e9d623f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ MainWindow::MainWindow(QWidget *parent) :
backgroundGradient.setColorAt(1.0, QRgb(0x101010));
backgroundGradient.setCoordinateMode(QGradient::ObjectBoundingMode);

_chart->setAnimationOptions(QChart::SeriesAnimations);
_chart->setAnimationOptions(QChart::NoAnimation);
_chart->setBackgroundBrush(backgroundGradient);
_chart->legend()->hide();

Expand Down

0 comments on commit e9d623f

Please sign in to comment.