summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Salmela <mika.salmela@digia.com>2013-03-22 12:03:11 +0200
committerMika Salmela <mika.salmela@digia.com>2013-03-22 12:07:52 +0200
commit4278a56d8f51a4bfb7a2381027bd92bfeb40cd7b (patch)
tree8c05c39eaff658a01083c82447d8772dd84f233e
parent99d6ecad75bc7918984102b5b59dd5046922fd27 (diff)
Fix for typos on documentation.
-rw-r--r--doc/src/examples-barchart.qdoc4
-rw-r--r--doc/src/examples-barmodelmapper.qdoc4
-rw-r--r--doc/src/examples-datetimeaxis.qdoc8
-rw-r--r--doc/src/examples-horizontalbarchart.qdoc2
-rw-r--r--doc/src/examples-horizontalpercentbarchart.qdoc4
-rw-r--r--doc/src/examples-horizontalstackedbarchart.qdoc4
-rw-r--r--doc/src/examples-lineandbarchart.qdoc2
-rw-r--r--doc/src/examples-linechart.qdoc2
-rw-r--r--doc/src/examples-logvalueaxis.qdoc2
-rw-r--r--doc/src/examples-modeldata.qdoc2
-rw-r--r--doc/src/examples-percentbarchart.qdoc4
-rw-r--r--doc/src/examples-stackedbarchart.qdoc4
-rw-r--r--doc/src/examples-temperaturerecords.qdoc2
-rw-r--r--src/qchart.cpp4
14 files changed, 24 insertions, 24 deletions
diff --git a/doc/src/examples-barchart.qdoc b/doc/src/examples-barchart.qdoc
index e97c95fe..91e6058b 100644
--- a/doc/src/examples-barchart.qdoc
+++ b/doc/src/examples-barchart.qdoc
@@ -15,7 +15,7 @@
\snippet ../examples/barchart/main.cpp 1
We create the series and append the barsets to it. The series takes ownership of the barsets. The series groups the data from sets to categories.
- First value of each set are gropuped together at first category second value to second category and so on.
+ First values of each set are grouped together at first category second value to second category and so on.
\snippet ../examples/barchart/main.cpp 2
@@ -31,7 +31,7 @@
\snippet ../examples/barchart/main.cpp 4
- We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting it's alignment
+ We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting its alignment
to Qt::AlignBottom.
\snippet ../examples/barchart/main.cpp 5
diff --git a/doc/src/examples-barmodelmapper.qdoc b/doc/src/examples-barmodelmapper.qdoc
index b8b887ef..8817abbc 100644
--- a/doc/src/examples-barmodelmapper.qdoc
+++ b/doc/src/examples-barmodelmapper.qdoc
@@ -32,8 +32,8 @@
\snippet ../examples/barmodelmapper/tablewidget.cpp 4
- To show in QTableView which data coresponds with which bar set this example uses table coloring.
- When series is added to the chart it is assigned a color beased on the currently selected theme.
+ To show in QTableView which data corresponds with which bar set this example uses table coloring.
+ 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.
diff --git a/doc/src/examples-datetimeaxis.qdoc b/doc/src/examples-datetimeaxis.qdoc
index 283a5c72..c689965d 100644
--- a/doc/src/examples-datetimeaxis.qdoc
+++ b/doc/src/examples-datetimeaxis.qdoc
@@ -16,13 +16,13 @@
\snippet ../examples/datetimeaxis/main.cpp 2
- To present the data on the char we need QChart instance. We add the series to it, hide the legend, create the default axes and set the title of the chart.
+ To present the data on the chart we need QChart instance. We add the series to it, hide the legend, create the default axes and set the title of the chart.
\snippet ../examples/datetimeaxis/main.cpp 3
- Becasue we use QLineSeries calling createDefaultAxes will create QValueAxis both as X and Y axis. To use QDateTimeAxis we need to set it manually to the chart.
- First the instance of QDateTimeAxis is created, then the number of ticks that are to be shown is set. The number of sun spots is provided as an average for the month therfore we don't need the axis labels to contain the information about the time and the day. This is achived by setting a custom label format.
- Please refer to QDateTime::toString() method documntation to learn about the avaiable format options.
+ Because we use QLineSeries calling createDefaultAxes will create QValueAxis both as X and Y axis. To use QDateTimeAxis we need to set it manually to the chart.
+ First the instance of QDateTimeAxis is created, then the number of ticks that are to be shown is set. The number of sun spots is provided as an average for the month therefore we don't need the axis labels to contain the information about the time and the day. This is achieved by setting a custom label format.
+ Please refer to QDateTime::toString() method documentation to learn about the available format options.
\snippet ../examples/datetimeaxis/main.cpp 4
diff --git a/doc/src/examples-horizontalbarchart.qdoc b/doc/src/examples-horizontalbarchart.qdoc
index dff8cf05..f9b02211 100644
--- a/doc/src/examples-horizontalbarchart.qdoc
+++ b/doc/src/examples-horizontalbarchart.qdoc
@@ -32,7 +32,7 @@
\snippet ../examples/horizontalbarchart/main.cpp 4
- We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting it's alignment
+ We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting its alignment
to Qt::AlignBottom.
\snippet ../examples/horizontalbarchart/main.cpp 5
diff --git a/doc/src/examples-horizontalpercentbarchart.qdoc b/doc/src/examples-horizontalpercentbarchart.qdoc
index c5e3dde8..693ed89f 100644
--- a/doc/src/examples-horizontalpercentbarchart.qdoc
+++ b/doc/src/examples-horizontalpercentbarchart.qdoc
@@ -21,7 +21,7 @@
\snippet ../examples/horizontalpercentbarchart/main.cpp 1
We create the series and append the barsets to it. The series takes ownership of the barsets. The series groups the data from sets to categories.
- First value of each set are gropuped together at first category second value to second category and so on.
+ First values of each set are grouped together at first category second value to second category and so on.
\snippet ../examples/horizontalpercentbarchart/main.cpp 2
@@ -37,7 +37,7 @@
\snippet ../examples/horizontalpercentbarchart/main.cpp 4
- We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting it's alignment
+ We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting its alignment
to Qt::AlignBottom.
\snippet ../examples/horizontalpercentbarchart/main.cpp 5
diff --git a/doc/src/examples-horizontalstackedbarchart.qdoc b/doc/src/examples-horizontalstackedbarchart.qdoc
index 0e093334..169537a4 100644
--- a/doc/src/examples-horizontalstackedbarchart.qdoc
+++ b/doc/src/examples-horizontalstackedbarchart.qdoc
@@ -18,7 +18,7 @@
\snippet ../examples/horizontalstackedbarchart/main.cpp 1
We create the series and append the barsets to it. The series takes ownership of the barsets. The series groups the data from sets to categories.
- First value of each set are gropuped together at first category second value to second category and so on.
+ First values of each set are grouped together at first category second value to second category and so on.
\snippet ../examples/horizontalstackedbarchart/main.cpp 2
@@ -34,7 +34,7 @@
\snippet ../examples/horizontalstackedbarchart/main.cpp 4
- We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting it's alignment
+ We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting its alignment
to Qt::AlignBottom.
\snippet ../examples/horizontalstackedbarchart/main.cpp 5
diff --git a/doc/src/examples-lineandbarchart.qdoc b/doc/src/examples-lineandbarchart.qdoc
index a88c8706..efe0c9c7 100644
--- a/doc/src/examples-lineandbarchart.qdoc
+++ b/doc/src/examples-lineandbarchart.qdoc
@@ -13,7 +13,7 @@
\snippet ../examples/lineandbar/main.cpp 1
We create the barseries and append the sets to it.
- First value of each set are gropuped together at first category second value to second category and so on.
+ First values of each set are grouped together at first category second value to second category and so on.
\snippet ../examples/lineandbar/main.cpp 2
diff --git a/doc/src/examples-linechart.qdoc b/doc/src/examples-linechart.qdoc
index 25979b54..cc799ca8 100644
--- a/doc/src/examples-linechart.qdoc
+++ b/doc/src/examples-linechart.qdoc
@@ -15,7 +15,7 @@
\snippet ../examples/linechart/main.cpp 2
- To present the data on the char we need QChart instance. We add the series to it, create the default axes and set the title of the chart.
+ To present the data on the chart we need QChart instance. We add the series to it, create the default axes and set the title of the chart.
\snippet ../examples/linechart/main.cpp 3
diff --git a/doc/src/examples-logvalueaxis.qdoc b/doc/src/examples-logvalueaxis.qdoc
index fd9899f4..27449c45 100644
--- a/doc/src/examples-logvalueaxis.qdoc
+++ b/doc/src/examples-logvalueaxis.qdoc
@@ -11,7 +11,7 @@
\snippet ../examples/logvalueaxis/main.cpp 1
- To present the data on the char we need QChart instance. Add the series to it, hide the legend and set the title of the chart.
+ To present the data on the chart we need QChart instance. Add the series to it, hide the legend and set the title of the chart.
\snippet ../examples/logvalueaxis/main.cpp 2
diff --git a/doc/src/examples-modeldata.qdoc b/doc/src/examples-modeldata.qdoc
index 65576d8f..cc13fa9d 100644
--- a/doc/src/examples-modeldata.qdoc
+++ b/doc/src/examples-modeldata.qdoc
@@ -31,7 +31,7 @@
\snippet ../examples/modeldata/tablewidget.cpp 4
- To show in QTableView which data coresponds with which series this example uses table coloring.
+ To show in QTableView which data corresponds with which series this example uses table coloring.
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.
diff --git a/doc/src/examples-percentbarchart.qdoc b/doc/src/examples-percentbarchart.qdoc
index 99e397d2..40dc97cd 100644
--- a/doc/src/examples-percentbarchart.qdoc
+++ b/doc/src/examples-percentbarchart.qdoc
@@ -21,7 +21,7 @@
\snippet ../examples/percentbarchart/main.cpp 1
We create the series and append the barsets to it. The series takes ownership of the barsets. The series groups the data from sets to categories.
- First value of each set are gropuped together at first category second value to second category and so on.
+ First values of each set are grouped together at first category second value to second category and so on.
\snippet ../examples/percentbarchart/main.cpp 2
@@ -37,7 +37,7 @@
\snippet ../examples/percentbarchart/main.cpp 4
- We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting it's alignment
+ We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting its alignment
to Qt::AlignBottom.
\snippet ../examples/percentbarchart/main.cpp 5
diff --git a/doc/src/examples-stackedbarchart.qdoc b/doc/src/examples-stackedbarchart.qdoc
index b49b3feb..c0410b78 100644
--- a/doc/src/examples-stackedbarchart.qdoc
+++ b/doc/src/examples-stackedbarchart.qdoc
@@ -20,7 +20,7 @@
\snippet ../examples/stackedbarchart/main.cpp 1
We create the series and append the barsets to it. The series takes ownership of the barsets. The series groups the data from sets to categories.
- First value of each set are gropuped together at first category second value to second category and so on.
+ First values of each set are grouped together at first category second value to second category and so on.
\snippet ../examples/stackedbarchart/main.cpp 2
@@ -36,7 +36,7 @@
\snippet ../examples/stackedbarchart/main.cpp 4
- We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting it's alignment
+ We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting its alignment
to Qt::AlignBottom.
\snippet ../examples/stackedbarchart/main.cpp 5
diff --git a/doc/src/examples-temperaturerecords.qdoc b/doc/src/examples-temperaturerecords.qdoc
index 725b3ca7..95961a70 100644
--- a/doc/src/examples-temperaturerecords.qdoc
+++ b/doc/src/examples-temperaturerecords.qdoc
@@ -28,7 +28,7 @@
\snippet ../examples/temperaturerecords/main.cpp 4
- We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting it's alignment
+ We also want to show the legend. To do that, we get the legend pointer from chart and set it to visible. We also place the legend to bottom of the chart by setting its alignment
to Qt::AlignBottom.
\snippet ../examples/temperaturerecords/main.cpp 5
diff --git a/src/qchart.cpp b/src/qchart.cpp
index 3e1ad716..496e146d 100644
--- a/src/qchart.cpp
+++ b/src/qchart.cpp
@@ -555,7 +555,7 @@ void QChart::removeAxis(QAbstractAxis *axis)
}
/*!
- Returns the value in the \a series domain that coresponds to the charts widget point defines by \a position.
+ Returns the value in the \a series domain that corresponds to the charts widget point defines by \a position.
*/
QPointF QChart::mapToValue(const QPointF &position, QAbstractSeries *series)
{
@@ -563,7 +563,7 @@ QPointF QChart::mapToValue(const QPointF &position, QAbstractSeries *series)
}
/*!
- Returns the position on the charts widget that coresponds to the \a value in the \a series domain.
+ Returns the position on the charts widget that corresponds to the \a value in the \a series domain.
*/
QPointF QChart::mapToPosition(const QPointF &value, QAbstractSeries *series)
{