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

Method xMaximum

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

Source from the content-addressed store, hash-verified

663}
664
665double HistogramPrivate::xMaximum() const {
666 switch (orientation) {
667 case Histogram::Orientation::Vertical:
668 return autoBinRanges ? dataColumn->maximum() : binRangesMax;
669 case Histogram::Orientation::Horizontal:
670 return getMaximumOccuranceofHistogram();
671 case Histogram::Orientation::Both:
672 break;
673 }
674
675 return -INFINITY;
676}
677
678double HistogramPrivate::yMinimum() const {
679 switch (orientation) {

Callers 1

maximumMethod · 0.80

Calls 1

maximumMethod · 0.45

Tested by

no test coverage detected