| 370 | } |
| 371 | |
| 372 | void StatisticsColumnWidget::showQQPlot() { |
| 373 | // add plot |
| 374 | auto* plot = addPlot(&m_qqPlotWidget); |
| 375 | |
| 376 | auto axes = plot->children<Axis>(); |
| 377 | for (auto* axis : std::as_const(axes)) { |
| 378 | if (axis->orientation() == Axis::Orientation::Horizontal) |
| 379 | axis->title()->setText(i18n("Theoretical Quantiles")); |
| 380 | else |
| 381 | axis->title()->setText(i18n("Sample Quantiles")); |
| 382 | |
| 383 | axis->setMinorTicksDirection(Axis::noTicks); |
| 384 | } |
| 385 | QApplication::processEvents(QEventLoop::AllEvents, 100); |
| 386 | |
| 387 | auto* qqPlot = new QQPlot(QString()); |
| 388 | plot->addChild(qqPlot); |
| 389 | qqPlot->setDataColumn(m_column); |
| 390 | |
| 391 | m_qqPlotInitialized = true; |
| 392 | } |
| 393 | |
| 394 | void StatisticsColumnWidget::showBoxPlot() { |
| 395 | // add plot |
nothing calls this directly
no test coverage detected