diff options
Diffstat (limited to 'examples/datavisualization/customproxy/rainfallgraph.cpp')
-rw-r--r-- | examples/datavisualization/customproxy/rainfallgraph.cpp | 5 |
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() |