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

Method yMinimum

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

Source from the content-addressed store, hash-verified

676}
677
678double HistogramPrivate::yMinimum() const {
679 switch (orientation) {
680 case Histogram::Orientation::Vertical:
681 return 0.;
682 case Histogram::Orientation::Horizontal:
683 return autoBinRanges ? dataColumn->minimum() : binRangesMin;
684 case Histogram::Orientation::Both:
685 break;
686 }
687
688 return INFINITY;
689}
690
691double HistogramPrivate::yMaximum() const {
692 switch (orientation) {

Callers 1

minimumMethod · 0.80

Calls 1

minimumMethod · 0.45

Tested by

no test coverage detected