summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/customproxy
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2014-08-26 13:40:51 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2014-08-26 13:41:21 +0300
commitc11538865bf8879cf2fb8aa4b0d057e1804eca37 (patch)
treee2ed83994a7a96418622d08c59aa863751a33205 /examples/datavisualization/customproxy
parentfcac33d0ee25115808ca43810cf6a3438e2da227 (diff)
Added reflection to 2 examples
Task-number: QTRD-3290 + changed the theme in texturesurface example Change-Id: I872ef7048e21c3bbf9daa0b2a620c9cdfe2256c8 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'examples/datavisualization/customproxy')
-rw-r--r--examples/datavisualization/customproxy/doc/images/customproxy-example.pngbin125698 -> 173744 bytes
-rw-r--r--examples/datavisualization/customproxy/rainfallgraph.cpp5
2 files changed, 4 insertions, 1 deletions
diff --git a/examples/datavisualization/customproxy/doc/images/customproxy-example.png b/examples/datavisualization/customproxy/doc/images/customproxy-example.png
index 753b8951..4f82943a 100644
--- a/examples/datavisualization/customproxy/doc/images/customproxy-example.png
+++ b/examples/datavisualization/customproxy/doc/images/customproxy-example.png
Binary files differ
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()