|
|
@ -310,7 +310,7 @@ ChartView::ChartView(QWidget *parent) : QChartView(nullptr, parent) { |
|
|
|
axis_y->setLabelFormat("%.1f"); |
|
|
|
axis_y->setLabelFormat("%.1f"); |
|
|
|
chart->addAxis(axis_x, Qt::AlignBottom); |
|
|
|
chart->addAxis(axis_x, Qt::AlignBottom); |
|
|
|
chart->addAxis(axis_y, Qt::AlignLeft); |
|
|
|
chart->addAxis(axis_y, Qt::AlignLeft); |
|
|
|
chart->legend()->layout()->setContentsMargins(0, 0, 40, 0); |
|
|
|
chart->legend()->layout()->setContentsMargins(16, 0, 40, 0); |
|
|
|
chart->legend()->setShowToolTips(true); |
|
|
|
chart->legend()->setShowToolTips(true); |
|
|
|
chart->setMargins({0, 0, 0, 0}); |
|
|
|
chart->setMargins({0, 0, 0, 0}); |
|
|
|
|
|
|
|
|
|
|
|