| 689 | } |
| 690 | |
| 691 | double 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 | |
| 704 | const AbstractColumn* HistogramPrivate::bins() { |
| 705 | if (!m_binsColumn) { |