summaryrefslogtreecommitdiffstats
path: root/examples/charts/boxplotchart/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/charts/boxplotchart/main.cpp')
-rw-r--r--examples/charts/boxplotchart/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/charts/boxplotchart/main.cpp b/examples/charts/boxplotchart/main.cpp
index 2bd45171..671b34cc 100644
--- a/examples/charts/boxplotchart/main.cpp
+++ b/examples/charts/boxplotchart/main.cpp
@@ -88,8 +88,8 @@ int main(int argc, char *argv[])
//! [5]
chart->createDefaultAxes();
- chart->axisY()->setMin(15.0);
- chart->axisY()->setMax(34.0);
+ chart->axes(Qt::Vertical).first()->setMin(15.0);
+ chart->axes(Qt::Horizontal).first()->setMax(34.0);
//! [5]
//! [6]