diff --git a/ui/StatisticsWidget.cpp b/ui/StatisticsWidget.cpp index 01027788..aa3d3ea8 100644 --- a/ui/StatisticsWidget.cpp +++ b/ui/StatisticsWidget.cpp @@ -589,6 +589,8 @@ void StatisticsWidget::drawBarGraphs(const QString &title, QSqlQuery &query) chart->setTitle(title); chart->legend()->hide(); chart->setAnimationOptions(QChart::SeriesAnimations); + chart->layout()->setContentsMargins(0, 0, 0, 0); + chart->setBackgroundRoundness(0); ui->stackedWidget->setCurrentIndex(0); ui->graphView->setChart(chart); diff --git a/ui/StatisticsWidget.ui b/ui/StatisticsWidget.ui index c6c50e8e..2a4d4aea 100644 --- a/ui/StatisticsWidget.ui +++ b/ui/StatisticsWidget.ui @@ -14,6 +14,21 @@ Statistics + + 2 + + + 6 + + + 6 + + + 6 + + + 6 + @@ -29,6 +44,21 @@ false + + 6 + + + 6 + + + 6 + + + 6 + + + 4 + @@ -390,6 +420,21 @@ + + 2 + + + 2 + + + 2 + + + 2 + + + 2 + @@ -397,6 +442,21 @@ + + 2 + + + 2 + + + 2 + + + 2 + + + 2 +