summaryrefslogtreecommitdiffstats
path: root/examples/customproxy/rainfallgraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/customproxy/rainfallgraph.cpp')
-rw-r--r--examples/customproxy/rainfallgraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/customproxy/rainfallgraph.cpp b/examples/customproxy/rainfallgraph.cpp
index 3a9f820a..0327ecb9 100644
--- a/examples/customproxy/rainfallgraph.cpp
+++ b/examples/customproxy/rainfallgraph.cpp
@@ -69,7 +69,7 @@ RainfallGraph::RainfallGraph(Q3DBars *rainfall)
m_graph->setFont(QFont("Century Gothic", 30));
// Set selection mode to bar and column
- m_graph->setSelectionMode(QDataVis::SelectionModeSliceColumn);
+ m_graph->setSelectionMode(QDataVis::SelectionItemAndColumn | QDataVis::SelectionSlice);
// Set theme
m_graph->setTheme(QDataVis::ThemeArmyBlue);