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

Method yMaximum

src/backend/worksheet/plots/cartesian/Histogram.cpp:691–702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689}
690
691double HistogramPrivate::yMaximum() const {
692 switch (orientation) {
693 case Histogram::Orientation::Vertical:
694 return getMaximumOccuranceofHistogram();
695 case Histogram::Orientation::Horizontal:
696 return autoBinRanges ? dataColumn->maximum() : binRangesMax;
697 case Histogram::Orientation::Both:
698 break;
699 }
700
701 return -INFINITY;
702}
703
704const AbstractColumn* HistogramPrivate::bins() {
705 if (!m_binsColumn) {

Callers 1

maximumMethod · 0.80

Calls 1

maximumMethod · 0.45

Tested by

no test coverage detected