summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/charts/xychart/qhxymodelmapper.cpp12
-rw-r--r--src/charts/xychart/qvxymodelmapper.cpp12
2 files changed, 16 insertions, 8 deletions
diff --git a/src/charts/xychart/qhxymodelmapper.cpp b/src/charts/xychart/qhxymodelmapper.cpp
index 083dc03c..de5cca82 100644
--- a/src/charts/xychart/qhxymodelmapper.cpp
+++ b/src/charts/xychart/qhxymodelmapper.cpp
@@ -40,12 +40,14 @@ QT_CHARTS_BEGIN_NAMESPACE
Model mappers enable using a data model derived from the QAbstractItemModel
class as a data source for a chart. A horizontal model mapper is used to
create a connection between a line, spline, or scatter series and the data
- model that holds the consecutive data point coordinates on rows.
+ model that has \e X and \e Y rows for the coordinates and holds the data
+ points for the XYSeries as columns. A \e TableModel is a natural choice
+ for the model.
Both model and series properties can be used to manipulate the data. The
model mapper keeps the series and the data model in sync.
- \sa QVXYModelMapper, QXYSeries
+ \sa QVXYModelMapper, QXYSeries, {Model Data Example}
*/
/*!
\qmltype HXYModelMapper
@@ -57,12 +59,14 @@ QT_CHARTS_BEGIN_NAMESPACE
Model mappers enable using a data model derived from the QAbstractItemModel
class as a data source for a chart. A horizontal model mapper is used to
create a connection between a line, spline, or scatter series and the data
- model that holds the consecutive data point coordinates on rows.
+ model that has \e X and \e Y rows for the coordinates and holds the data
+ points for the XYSeries as columns. A \e TableModel is a natural choice
+ for the model.
Both model and series properties can be used to manipulate the data. The
model mapper keeps the series and the data model in sync.
- \sa VXYModelMapper, XYSeries
+ \sa VXYModelMapper, XYSeries, {Model Data Example}
*/
/*!
diff --git a/src/charts/xychart/qvxymodelmapper.cpp b/src/charts/xychart/qvxymodelmapper.cpp
index ff9a4f21..71ae79ce 100644
--- a/src/charts/xychart/qvxymodelmapper.cpp
+++ b/src/charts/xychart/qvxymodelmapper.cpp
@@ -40,12 +40,14 @@ QT_CHARTS_BEGIN_NAMESPACE
Model mappers enable using a data model derived from the QAbstractItemModel
class as a data source for a chart. A vertical model mapper is used to
create a connection between a line, spline, or scatter series and the data
- model that holds the consecutive data point coordinates in columns.
+ model that has \e X and \e Y columns for the coordinates and holds the data
+ points for the XYSeries as rows. A \e TableModel is a natural choice
+ for the model.
Both model and series properties can be used to manipulate the data. The
model mapper keeps the series and the data model in sync.
- \sa QHXYModelMapper, QXYSeries
+ \sa QHXYModelMapper, QXYSeries, {Model Data Example}
*/
/*!
\qmltype VXYModelMapper
@@ -57,12 +59,14 @@ QT_CHARTS_BEGIN_NAMESPACE
Model mappers enable using a data model derived from the QAbstractItemModel
class as a data source for a chart. A vertical model mapper is used to
create a connection between a line, spline, or scatter series and the data
- model that holds the consecutive data point coordinates in columns.
+ model that has \e X and \e Y columns for the coordinates and holds the data
+ points for the XYSeries as rows. A \e TableModel is a natural choice
+ for the model.
Both model and series properties can be used to manipulate the data. The
model mapper keeps the series and the data model in sync.
- \sa HXYModelMapper, XYSeries
+ \sa HXYModelMapper, XYSeries, {Model Data Example}
*/
/*!