diff --git a/doc/src/demos-audio.qdoc b/doc/src/demos-audio.qdoc index feda61e..de7b452 100644 --- a/doc/src/demos-audio.qdoc +++ b/doc/src/demos-audio.qdoc @@ -3,6 +3,6 @@ \title Audio demo \subtitle - This demos shows drawing of the dynamic data (microphon input) + This demos shows drawing of the dynamic data (microphone input) \image demos_audio.png */ diff --git a/doc/src/demos-qmlaxes.qdoc b/doc/src/demos-qmlaxes.qdoc index dd70852..9fe2bcd 100644 --- a/doc/src/demos-qmlaxes.qdoc +++ b/doc/src/demos-qmlaxes.qdoc @@ -9,7 +9,7 @@ \row \o \br We begin with a chart that has a line series and a scatter series with random - data. Both series' use the same axes. + data. Both series use the same axes. \br \br \snippet ../demos/qmlaxes/qml/qmlaxes/View1.qml 1 diff --git a/doc/src/examples-legendmarkers.qdoc b/doc/src/examples-legendmarkers.qdoc index bed5a63..0d69b12 100644 --- a/doc/src/examples-legendmarkers.qdoc +++ b/doc/src/examples-legendmarkers.qdoc @@ -13,7 +13,7 @@ \snippet ../examples/legendmarkers/mainwidget.cpp 1 - Here we connect the markers in legend to our handler. To avoid conncecting same marker more than once, we first disconnect it. + Here we connect the markers in legend to our handler. To avoid connecting same marker more than once, we first disconnect it. \snippet ../examples/legendmarkers/mainwidget.cpp 2 diff --git a/doc/src/examples-multiaxis.qdoc b/doc/src/examples-multiaxis.qdoc index d618ba1..e490056 100644 --- a/doc/src/examples-multiaxis.qdoc +++ b/doc/src/examples-multiaxis.qdoc @@ -25,7 +25,7 @@ \snippet ../examples/multiaxis/main.cpp 4 - Create a QChartView object with QChart as a parameter. Enanle Antialiasing to have the rendered splines look nicer. + Create a QChartView object with QChart as a parameter. Enable Antialiasing to have the rendered splines look nicer. \snippet ../examples/multiaxis/main.cpp 5 diff --git a/doc/src/examples-scatterinteractions.qdoc b/doc/src/examples-scatterinteractions.qdoc index f484747..ec975b3 100644 --- a/doc/src/examples-scatterinteractions.qdoc +++ b/doc/src/examples-scatterinteractions.qdoc @@ -1,6 +1,6 @@ /*! \example examples/scatterinteractions - \title ScatterChart Example + \title ScatterInteractions Example \subtitle The example shows how to create simple scatter chart and how to interact with the chart. diff --git a/doc/src/examples.qdoc b/doc/src/examples.qdoc index b86a6a0..f0588be 100644 --- a/doc/src/examples.qdoc +++ b/doc/src/examples.qdoc @@ -71,7 +71,7 @@ - Logarythmic axis + Logarithmic axis Model Data diff --git a/doc/src/gettingstarted.qdoc b/doc/src/gettingstarted.qdoc index 97d12da..51914d4 100644 --- a/doc/src/gettingstarted.qdoc +++ b/doc/src/gettingstarted.qdoc @@ -57,7 +57,7 @@ Add an import line to your *.qml file: \code - import QtCommercial.Chart 1.1 + import QtCommercial.Chart 1.2 \endcode \raw HTML diff --git a/examples/barchart/main.cpp b/examples/barchart/main.cpp index eee1dd1..5f666ec 100644 --- a/examples/barchart/main.cpp +++ b/examples/barchart/main.cpp @@ -69,7 +69,7 @@ int main(int argc, char *argv[]) QBarCategoryAxis *axis = new QBarCategoryAxis(); axis->append(categories); chart->createDefaultAxes(); - // chart->setAxisX(axis, series); + chart->setAxisX(axis, series); //![4] //![5] diff --git a/examples/linechart/main.cpp b/examples/linechart/main.cpp index adf6af9..c45f9cb 100644 --- a/examples/linechart/main.cpp +++ b/examples/linechart/main.cpp @@ -31,34 +31,21 @@ int main(int argc, char *argv[]) //![1] QLineSeries *series = new QLineSeries(); - QLineSeries *series2 = new QLineSeries(); //![1] //![2] - *series << QPointF(0.06197, 0.16) - << QPointF(0.18694, 0.16) - << QPointF(0.3119, 0.16) - << QPointF(0.43687, 0.16) - << QPointF(0.56183, 0.16) - << QPointF(0.68678, 0.16) - << QPointF(0.81173, 0.16) - << QPointF(0.93667, 0.16); - - *series2 << QPointF(0.06197, 0.16) - << QPointF(0.18694, 0.16) - << QPointF(0.3119, 0.16) - << QPointF(0.43687, 0.16) - << QPointF(0.56183, 0.16) - << QPointF(0.68678, 0.16) - << QPointF(0.81173, 0.16) - << QPointF(0.93667, 0.16); + series->append(0, 6); + series->append(2, 4); + series->append(3, 8); + series->append(7, 4); + series->append(10, 5); + *series << QPointF(11, 1) << QPointF(13, 3) << QPointF(17, 6) << QPointF(18, 3) << QPointF(20, 2); //![2] //![3] QChart *chart = new QChart(); chart->legend()->hide(); chart->addSeries(series); - chart->addSeries(series2); chart->createDefaultAxes(); chart->setTitle("Simple line chart example"); //![3]