| 178 | } |
| 179 | |
| 180 | double BarPlot::minimum(const Dimension dim) const { |
| 181 | Q_D(const BarPlot); |
| 182 | switch (dim) { |
| 183 | case Dimension::X: |
| 184 | return d->xMin; |
| 185 | case Dimension::Y: |
| 186 | return d->yMin; |
| 187 | } |
| 188 | return NAN; |
| 189 | } |
| 190 | |
| 191 | double BarPlot::maximum(const Dimension dim) const { |
| 192 | Q_D(const BarPlot); |