diff options
author | Andreas Eliasson <andreas.eliasson@qt.io> | 2023-06-19 10:39:51 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-06-20 06:58:24 +0000 |
commit | 562d2dc32e801681d3567b1ecbdcf6defd10ad5d (patch) | |
tree | 767a5446e535bdd1f36e0acc145d72ad6fd502b3 | |
parent | 68ef54532da0d93db49cd2bb57e1b29f3dc1630e (diff) |
Doc: Fix broken links in Qt Charts
Still a few links that are broken in dev due to recent changes to the
examples.
Change-Id: I6617b9bbd698aea8c88ac992d82e7a00813a39ca
Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io>
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
(cherry picked from commit 0c2d91205d15a9e3eb0565e56e346481a83d34d5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/charts/barchart/vertical/bar/qbarseries.cpp | 3 | ||||
-rw-r--r-- | src/charts/legend/qlegend.cpp | 5 | ||||
-rw-r--r-- | src/charts/linechart/qlineseries.cpp | 2 | ||||
-rw-r--r-- | src/charts/piechart/qpieseries.cpp | 2 | ||||
-rw-r--r-- | src/charts/scatterchart/qscatterseries.cpp | 2 | ||||
-rw-r--r-- | src/chartsqml2/declarativechart.cpp | 8 |
6 files changed, 11 insertions, 11 deletions
diff --git a/src/charts/barchart/vertical/bar/qbarseries.cpp b/src/charts/barchart/vertical/bar/qbarseries.cpp index 69f52dd0..b97e6e00 100644 --- a/src/charts/barchart/vertical/bar/qbarseries.cpp +++ b/src/charts/barchart/vertical/bar/qbarseries.cpp @@ -19,7 +19,8 @@ QT_BEGIN_NAMESPACE This class draws data as a series of vertical bars grouped by category, with one bar per category from each bar set added to the series. - See the \l {BarChart Example} {bar chart example} to learn how to create a grouped bar chart. + See the \l {Creating Bar Charts} {bar chart example} to learn how to create + a grouped bar chart. \image examples_barchart.png \sa QBarSet, QPercentBarSeries, QAbstractBarSeries, QStackedBarSeries diff --git a/src/charts/legend/qlegend.cpp b/src/charts/legend/qlegend.cpp index da6984d0..a7062e76 100644 --- a/src/charts/legend/qlegend.cpp +++ b/src/charts/legend/qlegend.cpp @@ -55,8 +55,9 @@ QT_BEGIN_NAMESPACE \image examples_percentbarchart_legend.png - \note There is no QML API available for modifying legend markers. Markers can be modified by - creating a custom legend, as illustrated by \l {qmlcustomlegend}{Qml Custom Example}. + \note There is no QML API available for modifying legend markers. Markers + can be modified by creating a custom legend. For more information, see + \l {Using Legend Markers}. */ /*! diff --git a/src/charts/linechart/qlineseries.cpp b/src/charts/linechart/qlineseries.cpp index 825a7e52..c4823025 100644 --- a/src/charts/linechart/qlineseries.cpp +++ b/src/charts/linechart/qlineseries.cpp @@ -41,7 +41,7 @@ QT_BEGIN_NAMESPACE connected by straight lines. The following QML example shows how to create a simple line chart: - \snippet qmlchartsgallery/qml/PieChart.qml + \snippet qmlchartsgallery/qml/LineSeries.qml 1 \beginfloatleft \image examples_qmlchart2.png \endfloat diff --git a/src/charts/piechart/qpieseries.cpp b/src/charts/piechart/qpieseries.cpp index 982822b3..1d34555a 100644 --- a/src/charts/piechart/qpieseries.cpp +++ b/src/charts/piechart/qpieseries.cpp @@ -64,7 +64,7 @@ QT_BEGIN_NAMESPACE The following QML example shows how to create a simple pie chart. - \snippet qmlchart/qml/qmlchart/View1.qml 1 + \snippet qmlchartsgallery/qml/PieChart.qml 1 \beginfloatleft \image examples_qmlchart1.png diff --git a/src/charts/scatterchart/qscatterseries.cpp b/src/charts/scatterchart/qscatterseries.cpp index 689b67ae..5042a998 100644 --- a/src/charts/scatterchart/qscatterseries.cpp +++ b/src/charts/scatterchart/qscatterseries.cpp @@ -30,7 +30,7 @@ \endcode For more information, see \l{Charts with Widgets Gallery} and - \l {Scatter Interactions Example}. + \l {Creating Scatter Charts}. */ /*! \qmltype ScatterSeries diff --git a/src/chartsqml2/declarativechart.cpp b/src/chartsqml2/declarativechart.cpp index 4bd18f81..3bec3658 100644 --- a/src/chartsqml2/declarativechart.cpp +++ b/src/chartsqml2/declarativechart.cpp @@ -61,12 +61,10 @@ QT_BEGIN_NAMESPACE The ChartView type displays different series types as charts. - \image examples_qmlpiechart.png + This example shows how to create a simple line chart: - The following QML code shows how to create a simple chart with one pie - series: - \snippet qmlpiechart/qml/qmlpiechart/main.qml 1 - \snippet qmlpiechart/qml/qmlpiechart/main.qml 2 + \image examples_qmlchart2.png + \snippet qmlchartsgallery/qml/LineSeries.qml 1 */ /*! |