From c822a33e619474dbd57a17ef6e15fb2b9dc26665 2012-06-05 10:57:34 From: Marek Rosa Date: 2012-06-05 10:57:34 Subject: [PATCH] modelData example docs updated --- diff --git a/doc/src/examples-modeldata.qdoc b/doc/src/examples-modeldata.qdoc index da54a61..65576d8 100644 --- a/doc/src/examples-modeldata.qdoc +++ b/doc/src/examples-modeldata.qdoc @@ -23,7 +23,7 @@ \snippet ../examples/modeldata/tablewidget.cpp 3 - First line of the code below creates new line series. Line number two creates an instance of QVXYModelMapper class. + The code below creates new line series and gives it a name. Following line creates an instance of QVXYModelMapper class. Next two lines specifie that x coordinates are taken from the model's column(Qt::Vertical) with index 0 and the y coordinates are taken from the model's column with index 1. To create a connection between the series and the model we set both of those objects to QVXYModelMapper. @@ -32,7 +32,7 @@ \snippet ../examples/modeldata/tablewidget.cpp 4 To show in QTableView which data coresponds with which series this example uses table coloring. - When series is added to the chart it is assigned a color beased on the currently selected theme. + When series is added to the chart it is assigned a color based on the currently selected theme. Code below extracts that color from the series and uses it to create colored QTableView. Coloring of the view is not a part of the QChart functionality.