From 1753a58f78dc328405e0aa77252a9e59b356e5af Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Wed, 2 Jul 2014 09:56:07 +0300 Subject: Add qmlspectrogram example documentation Change-Id: I5a325fa17215c486184cdce0bc26cce8d9c755da Reviewed-by: Mika Salmela --- src/datavisualization/doc/src/qtdatavisualization-qml-surface3d.qdoc | 5 +++++ src/datavisualization/engine/q3dsurface.cpp | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'src/datavisualization') diff --git a/src/datavisualization/doc/src/qtdatavisualization-qml-surface3d.qdoc b/src/datavisualization/doc/src/qtdatavisualization-qml-surface3d.qdoc index 4188e2b1..2e343d38 100644 --- a/src/datavisualization/doc/src/qtdatavisualization-qml-surface3d.qdoc +++ b/src/datavisualization/doc/src/qtdatavisualization-qml-surface3d.qdoc @@ -89,6 +89,11 @@ * \qmlproperty bool Surface3D::flipHorizontalGrid * \since QtDataVisualization 1.2 * + * In some use cases the horizontal axis grid is mostly covered by the surface, so it can be more + * useful to display the horizontal axis grid on top of the graph rather than on the bottom. + * A typical use case for this is showing 2D spectrograms using orthoGraphic projection with + * a top-down viewpoint. + * * If \c{false}, the horizontal axis grid and labels are drawn on the horizontal background * of the graph. * If \c{true}, the horizontal axis grid and labels are drawn on the opposite side of the graph diff --git a/src/datavisualization/engine/q3dsurface.cpp b/src/datavisualization/engine/q3dsurface.cpp index 90b336df..ce3e7f4c 100644 --- a/src/datavisualization/engine/q3dsurface.cpp +++ b/src/datavisualization/engine/q3dsurface.cpp @@ -235,6 +235,11 @@ QSurface3DSeries *Q3DSurface::selectedSeries() const * \property Q3DSurface::flipHorizontalGrid * \since QtDataVisualization 1.2 * + * In some use cases the horizontal axis grid is mostly covered by the surface, so it can be more + * useful to display the horizontal axis grid on top of the graph rather than on the bottom. + * A typical use case for this is showing 2D spectrograms using orthoGraphic projection with + * a top-down viewpoint. + * * If \c{false}, the horizontal axis grid and labels are drawn on the horizontal background * of the graph. * If \c{true}, the horizontal axis grid and labels are drawn on the opposite side of the graph -- cgit v1.2.3