summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/customproxy/rainfallgraph.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2014-10-29 09:45:41 +0200
committerMiikka Heikkinen <miikka.heikkinen@theqtcompany.com>2014-10-29 09:45:41 +0200
commite3a4f132ca2a42af3d4bb889d6a17948b88d26a2 (patch)
tree554d2b8b3020dc71438301aa696dea1e9a36943a /examples/datavisualization/customproxy/rainfallgraph.cpp
parentcc50608385cf77a0803431ece1385f341a400b75 (diff)
parentbf716cfdf0afecccdb1f2eabb2e6a172c620fbff (diff)
Merge branch 'develop'
Conflicts: .qmake.conf README src/datavisualization/global/qdatavisualizationglobal.h Change-Id: Ia6941dcf3e6aa17e2e9ebc6f60fac16ef5049f11
Diffstat (limited to 'examples/datavisualization/customproxy/rainfallgraph.cpp')
-rw-r--r--examples/datavisualization/customproxy/rainfallgraph.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/datavisualization/customproxy/rainfallgraph.cpp b/examples/datavisualization/customproxy/rainfallgraph.cpp
index 024fc2a1..bcd67acc 100644
--- a/examples/datavisualization/customproxy/rainfallgraph.cpp
+++ b/examples/datavisualization/customproxy/rainfallgraph.cpp
@@ -49,7 +49,7 @@ RainfallGraph::RainfallGraph(Q3DBars *rainfall)
// Set up bar specifications; make the bars as wide as they are deep,
// and add a small space between the bars
m_graph->setBarThickness(1.0f);
- m_graph->setBarSpacing(QSizeF(0.2, 0.2));
+ m_graph->setBarSpacing(QSizeF(1.1, 1.1));
// Set axis labels and titles
QStringList months;
@@ -85,6 +85,9 @@ RainfallGraph::RainfallGraph(Q3DBars *rainfall)
// Set window title
m_graph->setTitle(QStringLiteral("Monthly rainfall in Northern Finland"));
+
+ // Set reflections on
+ m_graph->setReflection(true);
}
RainfallGraph::~RainfallGraph()