| 663 | } |
| 664 | |
| 665 | double 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 | |
| 678 | double HistogramPrivate::yMinimum() const { |
| 679 | switch (orientation) { |