MCPcopy Create free account
hub / github.com/KDE/labplot / normalizationChanged

Method normalizationChanged

src/frontend/dockwidgets/HistogramDock.cpp:344–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344void HistogramDock::normalizationChanged(int index) {
345 CONDITIONAL_LOCK_RETURN;
346
347 auto normalization = Histogram::Normalization(index);
348 for (auto* curve : m_curvesList)
349 curve->setNormalization(normalization);
350}
351
352void HistogramDock::binningMethodChanged(int index) {
353 const auto binningMethod = Histogram::BinningMethod(index);

Callers

nothing calls this directly

Calls 2

NormalizationEnum · 0.85
setNormalizationMethod · 0.80

Tested by

no test coverage detected