path: root/examples/datavisualization
diff options
Diffstat (limited to 'examples/datavisualization')
5 files changed, 12 insertions, 2 deletions
diff --git a/examples/datavisualization/bars/doc/src/bars.qdoc b/examples/datavisualization/bars/doc/src/bars.qdoc
index 1fa3f934..9717fe8a 100644
--- a/examples/datavisualization/bars/doc/src/bars.qdoc
+++ b/examples/datavisualization/bars/doc/src/bars.qdoc
@@ -89,6 +89,9 @@
\snippet bars/graphmodifier.cpp 3
+ We give axis labels a small autorotation angle to make them orient somewhat toward the
+ camera. This is done to improve axis label readability at extreme camera angles.
Next we initialize the visual properties of the series.
Note that the second series is initially not visible:
@@ -159,6 +162,8 @@
\li Grid visibility
\li Bar shading smoothness
\li Visibility of the second bar series
+ \li Value axis direction
+ \li Axis title visibility and rotation
\li Data range to be shown
\li Bar style
\li Selection mode
@@ -166,6 +171,7 @@
\li Shadow quality
\li Font
\li Font size
+ \li Axis label rotation
\section1 Selecting a row/column by clicking an axis label
diff --git a/examples/datavisualization/customitems/doc/src/customitems.qdoc b/examples/datavisualization/customitems/doc/src/customitems.qdoc
index f2699998..3d385245 100644
--- a/examples/datavisualization/customitems/doc/src/customitems.qdoc
+++ b/examples/datavisualization/customitems/doc/src/customitems.qdoc
@@ -68,5 +68,8 @@
\snippet customitems/customitemgraph.cpp 4
+ \note Removing a custom item from the graph also deletes it. If you want to preserve the item,
+ you need to use \c releaseCustomItem() method instead.
\section1 Example Contents
diff --git a/examples/datavisualization/customitems/main.cpp b/examples/datavisualization/customitems/main.cpp
index 7f5dd01e..a14e7610 100644
--- a/examples/datavisualization/customitems/main.cpp
+++ b/examples/datavisualization/customitems/main.cpp
@@ -90,7 +90,7 @@ int main(int argc, char **argv)
QLabel *label4 = new QLabel("Nothing");
- font.setPointSize(12);
+ font.setPointSize(11);
diff --git a/examples/datavisualization/itemmodel/main.cpp b/examples/datavisualization/itemmodel/main.cpp
index f00702eb..eab4ca1b 100644
--- a/examples/datavisualization/itemmodel/main.cpp
+++ b/examples/datavisualization/itemmodel/main.cpp
@@ -183,6 +183,7 @@ void GraphDataGenerator::setupModel()
m_tableWidget->setCurrentCell(-1, -1);
+ m_tableWidget->setSelectionMode(QAbstractItemView::SingleSelection);
//! [11]
//! [12]
diff --git a/examples/datavisualization/qmloscilloscope/doc/src/qmloscilloscope.qdoc b/examples/datavisualization/qmloscilloscope/doc/src/qmloscilloscope.qdoc
index e13320c3..6cc652ec 100644
--- a/examples/datavisualization/qmloscilloscope/doc/src/qmloscilloscope.qdoc
+++ b/examples/datavisualization/qmloscilloscope/doc/src/qmloscilloscope.qdoc
@@ -81,7 +81,7 @@
One interesting detail is that we don't specify a proxy for the Surface3DSeries we attach
to the graph. This makes the series to utilize the default QSurfaceDataProxy.
- We also hide the item label with \l{Abstract3DSeries::itemLabelVisible}{itemLabelFormat}, since
+ We also hide the item label with \l{Abstract3DSeries::itemLabelVisible}{itemLabelVisible}, since
we want to display the selected item information in a \c Text element instead of a floating
label above the selection pointer.
This is done because the selection pointer moves around a lot as the data changes, which makes