##// END OF EJS Templates
Fix Charts documentation...
Titta Heikkala -
r2639:2ce3423968b5
parent child
Show More
@@ -0,0 +1,9
1 include(compat.qdocconf)
2 include(macros.qdocconf)
3 include(qchart-html-template.qdocconf)
4 include(qchart-qch.qdocconf)
5 include(qcharts.qdocconf)
6
7 outputdir = ../html
8 imagedirs = ../images
9 sourcedirs += ../src_qt4
@@ -0,0 +1,9
1 include(macros.qdocconf)
2 include(qchart-html-template.qdocconf)
3 include(qchart-qch.qdocconf)
4 include(qcharts.qdocconf)
5
6 defines = QDOC_QT5
7 outputdir = ../html
8 imagedirs = ../../images
9 excludedirs += ../src_qt4
@@ -0,0 +1,6
1 \brief The AbstractAxis is a base element used for specialized axis elements.
2
3 Each series can be bound to only one horizontal and vertical axis.
4
5 Properties and visibility of various axis elements such as axis line, title, labels, grid lines,
6 and shades can be individually controlled.
@@ -0,0 +1,9
1 \inherits AbstractSeries
2
3 The following QML shows how to create a simple bar chart:
4 \snippet ../demos/qmlchart/qml/qmlchart/View6.qml 1
5
6 \beginfloatleft
7 \image demos_qmlchart6.png
8 \endfloat
9 \clearfloat
@@ -0,0 +1,2
1 AbstractSeries is the base class for all series.
2 The class cannot be instantiated by the user.
@@ -0,0 +1,8
1 \inherits AbstractSeries
2
3 The following QML shows how to create a simple area chart:
4 \snippet ../demos/qmlchart/qml/qmlchart/View4.qml 1
5 \beginfloatleft
6 \image demos_qmlchart4.png
7 \endfloat
8 \clearfloat
@@ -0,0 +1,17
1 \inherits AbstractAxis
2
3 \brief The Axis element is used for manipulating chart's axes.
4
5 Axis can be setup to show axis line with tick marks, grid lines and shades.
6 Categories are drawn between ticks. Note that you can use this also with lineseries too.
7
8 To access BarCategoryAxis you can use ChartView API. For example:
9 \code
10 ChartView {
11 BarCategoryAxis {
12 id: categoryAxis
13 categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun" ]
14 }
15 // Add a few series...
16 }
17 \endcode
@@ -0,0 +1,8
1 \inherits AbstractBarSeries
2
3 The following QML shows how to create a simple grouped bar chart:
4 \snippet ../demos/qmlchart/qml/qmlchart/View6.qml 1
5 \beginfloatleft
6 \image demos_qmlchart6.png
7 \endfloat
8 \clearfloat
@@ -0,0 +1,5
1 BarSet represents one set of bars. Set of bars contains one data value for each category.
2 First value of set is assumed to belong to first category, second to second category and so on.
3 If set has fewer values than there are categories, then the missing values are assumed to be
4 at the end of set. For missing values in middle of a set, numerical value of zero is used.
5 \sa AbstractBarSeries, BarSeries, StackedBarSeries, PercentBarSeries
@@ -0,0 +1,12
1 \inherits AbstractAxis
2 \brief CategoryAxis allows putting a named ranges on the axis.
3
4 For example:
5 \table
6 \row
7 \li \br
8 \br
9 \br
10 \snippet ../demos/qmlaxes/qml/qmlaxes/View3.qml 1
11 \li \inlineimage demos_qmlaxes3.png
12 \endtable
@@ -0,0 +1,2
1 \brief With CategoryRange you can define a range used by a CategoryAxis.
2 \sa CategoryAxis
@@ -0,0 +1,11
1 ChartView element is the parent that is responsible for showing different chart series types.
2
3 The following QML shows how to create a simple chart with one pie series:
4 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 1
5 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 2
6 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 3
7
8 \beginfloatleft
9 \image examples_qmlpiechart.png
10 \endfloat
11 \clearfloat
@@ -0,0 +1,6
1 \brief The DateTimeAxis element is used for manipulating chart's axes.
2 \inherits AbstractAxis
3
4 The labels can be configured by setting an appropriate DateTime format.
5 Note that any date before 4714 BCE or after about 1.4 million CE may not be accurately stored.
6 DateTimeAxis can be setup to show axis line with tick marks, grid lines and shades.
@@ -0,0 +1,34
1 \inherits AbstractSeries
2
3 BoxPlotSeries represents a series of data shown as box-and-whiskers bars. The purpose of this class is to act as
4 a container for single box-and-whiskers items. Each item is drawn to own slot. If chart includes multiple instances of
5 BoxPlotSeries then box-and-whiskers items with the same index are drawn to same slot.
6
7 The following QML shows how to create a simple box-and-whiskers chart:
8 \code
9 import QtQuick 1.0
10 import QtCommercial.Chart 1.3
11
12 ChartView {
13 title: "Box Plot series"
14 width: 400
15 height: 300
16 theme: ChartView.ChartThemeBrownSand
17 legend.alignment: Qt.AlignBottom
18
19 BoxPlotSeries {
20 id: plotSeries
21 name: "Income"
22 BoxSet { label: "Jan"; values: [3, 4, 5.1, 6.2, 8.5] }
23 BoxSet { label: "Feb"; values: [5, 6, 7.5, 8.6, 11.8] }
24 BoxSet { label: "Mar"; values: [3.2, 5, 5.7, 8, 9.2] }
25 BoxSet { label: "Apr"; values: [3.8, 5, 6.4, 7, 8] }
26 BoxSet { label: "May"; values: [4, 5, 5.2, 6, 7] }
27 }
28 }
29 \endcode
30
31 \beginfloatleft
32 \image examples_qmlboxplot.png
33 \endfloat
34 \clearfloat
@@ -0,0 +1,6
1 BoxSet represents one box-and-whiskers item. It takes five values to create a graphical representation
2 of range and three medians. There are two ways to give the values. The first one is with constructor
3 or with append method. In these the values have to be given in the following order: lower extreme, lower quartile, median,
4 upper quartile and upper extreme. The second method is to create an empty QBoxSet instance and give the values using
5 value specific methods.
6 \sa BoxPlotSeries
@@ -0,0 +1,20
1 PolarChartView element is the parent that is responsible for showing different chart series types
2 in a polar chart.
3
4 Polar charts support line, spline, area, and scatter series, and all axis types
5 supported by those series.
6
7 \note When setting ticks to an angular ValueAxis, keep in mind that the first and last tick
8 are co-located at 0/360 degree angle.
9
10 \note If the angular distance between two consecutive points in a series is more than 180 degrees,
11 any line connecting the two points becomes meaningless, so choose the axis ranges accordingly
12 when displaying line, spline, or area series.
13
14 The following QML shows how to create a polar chart with two series:
15 \snippet ../demos/qmlpolarchart/qml/qmlpolarchart/View1.qml 1
16
17 \beginfloatleft
18 \image demos_qmlpolarchart1.png
19 \endfloat
20 \clearfloat
@@ -0,0 +1,3
1 XYPoint is a convenience element for initializing XY-series with static coordinate data. To
2 manipulate an XY-series dynamically, use it's data manipulation functions instead.
3 \sa LineSeries, AreaSeries, ScatterSeries, SplineSeries
@@ -0,0 +1,3
1 \brief Defines the font used for drawing text.
2
3 Font instantiates the C++ class QFont
@@ -0,0 +1,17
1 HBarModelMapper allows you to use your own QAbstractItemModel derived model with data in rows as a data source
2 for any bar series. It is possible to use both QAbstractItemModel and bar series data API to manipulate data.
3 HBarModelMapper keeps the series and the model in sync.
4
5 The following QML example would create a bar series with three bar sets (assuming the model has
6 at least four rows). Each bar set would contain data starting from column 1. The name of a set would be defined by
7 the vertical header (of the row).
8 \code
9 BarSeries {
10 HBarModelMapper {
11 model: myCustomModel // QAbstractItemModel derived implementation
12 firstBarSetRow: 1
13 lastBarSetRow: 3
14 firstColumn: 1
15 }
16 }
17 \endcode
@@ -0,0 +1,8
1 \inherits AbstractBarSeries
2
3 The following QML shows how to create a simple horizontal bar chart:
4 \snippet ../demos/qmlchart/qml/qmlchart/View9.qml 1
5 \beginfloatleft
6 \image demos_qmlchart9.png
7 \endfloat
8 \clearfloat
@@ -0,0 +1,8
1 \inherits AbstractBarSeries
2
3 The following QML shows how to create a simple horizontal percent bar chart:
4 \snippet ../demos/qmlchart/qml/qmlchart/View11.qml 1
5 \beginfloatleft
6 \image demos_qmlchart11.png
7 \endfloat
8 \clearfloat
@@ -0,0 +1,8
1 \inherits AbstractBarSeries
2
3 The following QML shows how to create a simple horizontal stacked bar chart:
4 \snippet ../demos/qmlchart/qml/qmlchart/View10.qml 1
5 \beginfloatleft
6 \image demos_qmlchart10.png
7 \endfloat
8 \clearfloat
@@ -0,0 +1,16
1 HPieModelMapper allows you to use your own QAbstractItemModel derived model with data in rows as a data source
2 for a pie series. It is possible to use both QAbstractItemModel and PieSeries data API to manipulate data.
3 HPieModelMapper keeps the Pie and the model in sync.
4
5 The following QML example would create a pie series with four slices (assuming the model has
6 at least five columns). Each slice would contain a label from row 1 and a value from row 2.
7 \code
8 HPieModelMapper {
9 series: pieSeries
10 model: customModel
11 labelsRow: 1
12 valuesRow: 2
13 firstColumn: 1
14 columnCount: 4
15 }
16 \endcode
@@ -0,0 +1,3
1 HXYModelMapper allows you to use your own QAbstractItemModel derived model with data in rows as a data source
2 for XYSeries based series. It is possible to use both QAbstractItemModel and XYSeries data API to manipulate data.
3 HXYModelMapper keeps the series and the model in sync.
@@ -0,0 +1,17
1 \brief Legend is part of Qt Chart QML API.
2
3 Legend is a graphical object, whics displays legend of the chart. Legend state is updated by ChartView, when
4 series have been changed. Legend is used via ChartView class. For example:
5 \code
6 ChartView {
7 legend.visible: true
8 legend.alignment: Qt.AlignBottom
9 // Add a few series...
10 }
11 \endcode
12
13 \image examples_percentbarchart_legend.png
14
15 Please note that there is no QML API available for modifying legend markers, unlike in the Qt API of Charts.
16 The use case of modifying markers can be implemented for example by creating your own custom legend. For an example
17 on how to do this, see \l {demos/qmlcustomlegend}{Qml Custom Demo} application.
@@ -0,0 +1,8
1 \inherits XYSeries
2
3 The following QML shows how to create a simple line chart:
4 \snippet ../demos/qmlchart/qml/qmlchart/View2.qml 1
5 \beginfloatleft
6 \image demos_qmlchart2.png
7 \endfloat
8 \clearfloat
@@ -0,0 +1,7
1 \brief The LogValueAxis element is used for manipulating chart's axes.
2 \inherits AbstractAxis
3
4 \note If a LogValueAxis is attached to a series with one or more points with
5 negative or zero values on the associated dimension, the series will not be
6 plotted at all. This is particularly relevant when XYModelMappers are used,
7 since empty cells in models typically contain zero values.
@@ -0,0 +1,1
1 Uncreatable type that is used to define top, bottom, left and right margins.
@@ -0,0 +1,8
1 \inherits AbstractBarSeries
2
3 The following QML shows how to create a simple percent bar chart:
4 \snippet ../demos/qmlchart/qml/qmlchart/View8.qml 1
5 \beginfloatleft
6 \image demos_qmlchart8.png
7 \endfloat
8 \clearfloat
@@ -0,0 +1,10
1 \inherits AbstractSeries
2
3 The following QML shows how to create a simple pie chart.
4
5 \snippet ../demos/qmlchart/qml/qmlchart/View1.qml 1
6
7 \beginfloatleft
8 \image demos_qmlchart1.png
9 \endfloat
10 \clearfloat
@@ -0,0 +1,12
1 PieSlice defines the properties of a single slice in a PieSeries. The element should be used
2 as a child for a PieSeries. For example:
3 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 2
4
5 An alternative (dynamic) method for adding slices to a PieSeries is using PieSeries.append
6 method.
7 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 4
8
9 In that case you may want to use PieSeries.at or PieSeries.find to access the properties of
10 an individual PieSlice instance.
11 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 5
12 \sa PieSeries
@@ -0,0 +1,9
1 \inherits XYSeries
2
3 The following QML shows how to create a chart with two simple scatter series:
4 \snippet ../demos/qmlchart/qml/qmlchart/View5.qml 1
5
6 \beginfloatleft
7 \image demos_qmlchart5.png
8 \endfloat
9 \clearfloat
@@ -0,0 +1,8
1 \inherits XYSeries
2
3 The following QML shows how to create a simple spline chart:
4 \snippet ../demos/qmlchart/qml/qmlchart/View3.qml 1
5 \beginfloatleft
6 \image demos_qmlchart3.png
7 \endfloat
8 \clearfloat
@@ -0,0 +1,8
1 \inherits AbstractBarSeries
2
3 The following QML shows how to create a simple stacked bar chart:
4 \snippet ../demos/qmlchart/qml/qmlchart/View7.qml 1
5 \beginfloatleft
6 \image demos_qmlchart7.png
7 \endfloat
8 \clearfloat
@@ -0,0 +1,17
1 \inherits AbstractAxis
2 \brief The ValueAxis element is used for manipulating chart's axes
3
4 ValueAxis can be setup to show axis line with tick marks, grid lines and shades.
5 Values of axis are drawn to position of ticks
6
7 Example about using ValueAxis:
8 \code
9 ChartView {
10 ValueAxis {
11 id: xAxis
12 min: 0
13 max: 10
14 }
15 // Add a few series...
16 }
17 \endcode
@@ -0,0 +1,19
1 \inherits BarModelMapper
2
3 VBarModelMapper allows you to use your own QAbstractItemModel derived model with data in columns as a data source
4 for any bar series. It is possible to use both QAbstractItemModel and bar series data API to manipulate data.
5 VBarModelMapper keeps the series and the model in sync.
6
7 The following QML example would create a bar series with three bar sets (assuming the
8 model has at least four columns). Each bar set would contain data starting from row 1. The name of a set would be
9 defined by the horizontal header (of the column).
10 \code
11 BarSeries {
12 VBarModelMapper {
13 model: myCustomModel // QAbstractItemModel derived implementation
14 firstBarSetColumn: 1
15 lastBarSetColumn: 3
16 firstRow: 1
17 }
18 }
19 \endcode
@@ -0,0 +1,18
1 VBoxPlotModelMapper allows you to use your own QAbstractItemModel derived model with data in columns as a data source
2 for any box-and-whiskers series. It is possible to use both QAbstractItemModel and box-and-whiskers series data API to
3 manipulate data.
4 VBoxPlotModelMapper keeps the series and the model in sync.
5
6 The following QML example would create a box-and-whiskers series with three box sets (assuming the
7 model has at least four columns). Each box set would contain data starting from row 1. The name of a set would be
8 defined by the horizontal header (of the column).
9 \code
10 BoxPlotSeries {
11 VBoxPlotModelMapper {
12 model: myCustomModel // QAbstractItemModel derived implementation
13 firstBoxSetColumn: 1
14 lastBoxSetColumn: 3
15 firstRow: 1
16 }
17 }
18 \endcode
@@ -0,0 +1,16
1 VPieModelMapper allows you to use your own QAbstractItemModel derived model with data in columns as a data source
2 for a pie series. It is possible to use both QAbstractItemModel and PieSeries data API to manipulate data.
3 VPieModelMapper keeps the Pie and the model in sync.
4
5 The following QML example would create a pie series with four slices (assuming the model has at least five rows).
6 Each slice would contain a label from column 1 and a value from column 2.
7 \code
8 VPieModelMapper {
9 series: pieSeries
10 model: customModel
11 labelsColumn: 1
12 valuesColumn: 2
13 firstRow: 1
14 rowCount: 4
15 }
16 \endcode
@@ -0,0 +1,3
1 VXYModelMapper allows you to use your own QAbstractItemModel derived model with data in columns as a data source
2 for XYSeries based series. It is possible to use both QAbstractItemModel and XYSeries data API to manipulate data.
3 VXYModelMapper keeps the series and the model in sync.
@@ -0,0 +1,4
1 \inherits AbstractSeries
2
3 The XYSeries class is a base class for line, spline and scatter series.
4 The class cannot be instantiated directly.
@@ -0,0 +1,78
1 /*!
2 \page demos.html
3 \title Qt Charts Demos
4 \keyword Demos
5
6 \raw HTML
7 <div class="qchart">
8
9 <table>
10 <tr>
11 <td><a href="qt-charts-demos-audio-example.html">Audio</a></td>
12 <td><a href="qt-charts-demos-callout-example.html">Callout</a></td>
13 </tr>
14 <tr>
15 <td><a href="qt-charts-demos-audio-example.html"><img src="images/demos_audio.png" width="300" alt="Audio" /></a></td>
16 <td><a href="qt-charts-demos-callout-example.html"><img src="images/demos_callout.png" width="300" alt="Callout" /></a></td>
17 </tr>
18 <tr>
19 <td><a href="qt-charts-demos-chartthemes-example.html">Chart Themes</a></td>
20 <td><a href="qt-charts-demos-dynamicspline-example.html">Dynamic Spline Chart</a></td>
21 </tr>
22 <tr>
23 <td><a href="qt-charts-demos-chartthemes-example.html"><img src="images/demo_chartthemes_blue_cerulean.png" width="300" alt="Chart Themes" /></a></td>
24 <td><a href="qt-charts-demos-dynamicspline-example.html"><img src="images/demos_dynamicspline2.png" width="300" alt="Dynamic Spline" /></a></td>
25 </tr>
26 <tr>
27 <td><a href="qt-charts-demos-nesteddonuts-example.html">Nested Donuts Chart</a></td>
28 <td><a href="qt-charts-demos-piechartcustomization-example.html">Pie Chart Customization</a></td>
29 </tr>
30 <tr>
31 <td><a href="qt-charts-demos-nesteddonuts-example.html"><img src="images/demos_nesteddonuts.png" width="300" alt="Nested Donuts Chart" /></a></td>
32 <td><a href="qt-charts-demos-piechartcustomization-example.html"><img src="images/piechart_customization.png" width="300" alt="Pie Chart Customization" /></a></td>
33 </tr>
34 <tr>
35 <td><a href="qt-charts-demos-qmlchart-example.html">Qml Basic Charts</a></td>
36 <td><a href="qt-charts-demos-qmlaxes-example.html">Qml Axes</a></td>
37 </tr>
38 <tr>
39 <td><a href="qt-charts-demos-qmlchart-example.html"><img src="images/demos_qmlchart1.png" width="300" alt="Qml Basic Charts" /></a></td>
40 <td><a href="qt-charts-demos-qmlaxes-example.html"><img src="images/demos_qmlaxes1.png" width="300" alt="Qml Axes" /></a></td>
41 </tr>
42 <tr>
43 <td><a href="qt-charts-demos-qmlcustomizations-example.html">Qml Customizations</a></td>
44 <td><a href="qt-charts-demos-qmlcustomlegend-example.html">Qml Custom Legend</a></td>
45 </tr>
46 <tr>
47 <td><a href="qt-charts-demos-qmlcustomizations-example.html"><img src="images/demos_qmlcustomizations.png" width="300" alt="Qml Customizations" /></a></td>
48 <td><a href="qt-charts-demos-qmlcustomlegend-example.html"><img src="images/demos-qmlcustomlegend1.png" width="300" alt="Qml Custom Legend" /></a></td>
49 </tr>
50 <tr>
51 <td><a href="qt-charts-demos-qmlf1legends-example.html">Qml F1 Legends</a></td>
52 <td><a href="qt-charts-demos-qmloscilloscope-example.html">Qml Oscilloscope</a></td>
53 </tr>
54 <tr>
55 <td><a href="qt-charts-demos-qmlf1legends-example.html"><img src="images/demos_qmlf1legends.png" width="300" alt="Qml F1 Legends" /></a></td>
56 <td><a href="qt-charts-demos-qmloscilloscope-example.html"><img src="images/demos_qmloscilloscope.png" width="300" alt="Qml Oscilloscope" /></a></td>
57 </tr>
58 <tr>
59 <td><a href="qt-charts-demos-qmlweather-example.html">Qml Weather</a></td>
60 <td><a href="qt-charts-demos-qmlpolarchart-example.html">Qml Polar Chart</a></td>
61 </tr>
62 <tr>
63 <td><a href="qt-charts-demos-qmlweather-example.html"><img src="images/demos_qmlweather.png" width="300" alt="Qml Weather" /></a></td>
64 <td><a href="qt-charts-demos-qmlpolarchart-example.html"><img src="images/demos_qmlpolarchart1.png" width="300" alt="Qml Polar Chart" /></a></td>
65 </tr>
66 <tr>
67 <td><a href="qt-charts-demos-quick2chart-example.html">Qt Quick 2 Basic Charts</a></td>
68 <td><a href="qt-charts-demos-quick2oscilloscope-example.html">Qt Quick 2 Oscilloscope</a></td>
69 </tr>
70 <tr>
71 <td><a href="qt-charts-demos-quick2chart-example.html"><img src="images/demos_qmlchart1.png" width="300" alt="Qt Quick 2 Basic Charts" /></a></td>
72 <td><a href="qt-charts-demos-quick2oscilloscope-example.html"><img src="images/demos_qmloscilloscope.png" width="300" alt="Qt Quick 2 Oscilloscope" /></a></td>
73 </tr>
74 </table>
75 </div>
76 \endraw
77
78 */
@@ -0,0 +1,147
1 /*!
2 \page examples.html
3 \title Qt Charts Examples
4 \keyword Examples
5
6 \raw HTML
7 <div class="qchart">
8
9 <table>
10 <tr>
11 <td><a href="qt-charts-examples-areachart-example.html">Area Chart</a></td>
12 <td><a href="qt-charts-examples-barchart-example.html">Bar Chart</a></td>
13 </tr>
14 <tr>
15 <td><a href="qt-charts-examples-areachart-example.html"><img src="images/examples_areachart.png" width="300" alt="Area Chart" /></a></td>
16 <td><a href="qt-charts-examples-barchart-example.html"><img src="images/examples_barchart.png" width="300" alt="Bar Chart" /></a></td>
17 </tr>
18
19 <tr>
20 <td><a href="qt-charts-examples-barmodelmapper-example.html">Bar Chart from Model</a></td>
21 <td><a href="qt-charts-examples-boxplotchart-example.html">Box-and-whiskers Chart</a></td>
22 </tr>
23 <tr>
24 <td><a href="qt-charts-examples-barmodelmapper-example.html"><img src="images/examples_barmodelmapper.png" width="300" alt="Bar Chart from Model" /></a></td>
25 <td><a href="qt-charts-examples-boxplotchart-example.html"><img src="images/examples_boxplotchart.png" width="300" alt="Bar Chart from Model" /></a></td>
26 </tr>
27
28 <tr>
29 <td><a href="qt-charts-examples-customchart-example.html">Custom Chart</a></td>
30 <td><a href="qt-charts-examples-datetimeaxis-example.html">DateTimeAxis Example</a></td>
31 </tr>
32 <tr>
33 <td><a href="qt-charts-examples-customchart-example.html"><img src="images/examples_customchart.png" width="300" alt="Custom Chart" /></a></td>
34 <td><a href="qt-charts-examples-datetimeaxis-example.html"><img src="images/examples_datetimeaxis.png" width="300" alt="DateTimeAxis Example" /></a></td>
35 </tr>
36
37 <tr>
38 <td><a href="qt-charts-examples-donutbreakdown-example.html">Donut Breakdown Chart</a></td>
39 <td><a href="qt-charts-examples-donutchart-example.html">Donut Chart</a></td>
40 </tr>
41 <tr>
42 <td><a href="qt-charts-examples-donutbreakdown-example.html"><img src="images/examples_donutbreakdown.png" width="300" alt="Donut Breakdown Chart" /></a></td>
43 <td><a href="qt-charts-examples-donutchart-example.html"><img src="images/examples_donutchart.png" width="300" alt="Donut Chart" /></a></td>
44 </tr>
45
46 <tr>
47 <td><a href="qt-charts-examples-horizontalbarchart-example.html">Horizontal Bar Chart</a></td>
48 <td><a href="qt-charts-examples-horizontalpercentbarchart-example.html">Horizontal Percent Bar Chart</a></td>
49 </tr>
50 <tr>
51 <td><a href="qt-charts-examples-horizontalbarchart-example.html"><img src="images/examples_horizontalbarchart.png" width="300" alt="Horizontal Bar Chart" /></a></td>
52 <td><a href="qt-charts-examples-horizontalpercentbarchart-example.html"><img src="images/examples_horizontalpercentbarchart.png" width="300" alt="Horizontal Percent Bar Chart" /></a></td>
53 </tr>
54
55 <tr>
56 <td><a href="qt-charts-examples-horizontalstackedbarchart-example.html">Horizontal Stacked Bar Chart</a></td>
57 <td><a href="qt-charts-examples-legend-example.html">Legend</a></td>
58 </tr>
59 <tr>
60 <td><a href="qt-charts-examples-horizontalstackedbarchart-example.html"><img src="images/examples_horizontalstackedbarchart.png" width="300" alt="Horizontal Stacked Bar Chart" /></a></td>
61 <td><a href="qt-charts-examples-legend-example.html"><img src="images/examples_legend_detach.png" width="300" alt="Legend" /></a></td>
62 </tr>
63
64 <tr>
65 <td><a href="qt-charts-examples-legendmarkers-example.html">Legend Markers</a></td>
66 <td><a href="qt-charts-examples-lineandbar-example.html">Line and Barchart</a></td>
67 </tr>
68 <tr>
69 <td><a href="qt-charts-examples-legendmarkers-example.html"><img src="images/examples_legendmarkers.png" width="300" alt="Legend Markers" /></a></td>
70 <td><a href="qt-charts-examples-lineandbar-example.html"><img src="images/examples_lineandbar.png" width="300" alt="Line and Barchart" /></a></td>
71 </tr>
72
73 <tr>
74 <td><a href="qt-charts-examples-linechart-example.html">Line Chart</a></td>
75 <td><a href="qt-charts-examples-logvalueaxis-example.html">Logarithmic axis</a></td>
76 </tr>
77 <tr>
78 <td><a href="qt-charts-examples-linechart-example.html"><img src="images/examples_linechart.png" width="300" alt="Line Chart" /></a></td>
79 <td><a href="qt-charts-examples-logvalueaxis-example.html"><img src="images/examples_logvalueaxis.png" width="300" alt="Logarythmix axis" /></a></td>
80 </tr>
81
82 <tr>
83 <td><a href="qt-charts-examples-modeldata-example.html">Model Data</a></td>
84 <td><a href="qt-charts-examples-multiaxis-example.html">Multiple axes</a></td>
85 </tr>
86 <tr>
87 <td><a href="qt-charts-examples-modeldata-example.html"><img src="images/examples_modeldata.png" width="300" alt="Model Data" /></a></td>
88 <td><a href="qt-charts-examples-multiaxis-example.html"><img src="images/examples_multiaxis.png" width="300" alt="Multiple axes" /></a></td>
89 </tr>
90
91 <tr>
92 <td><a href="qt-charts-examples-percentbarchart-example.html">Percent Bar Chart</a></td>
93 <td><a href="qt-charts-examples-piechart-example.html">Pie Chart</a></td>
94 </tr>
95 <tr>
96 <td><a href="qt-charts-examples-percentbarchart-example.html"><img src="images/examples_percentbarchart.png" width="300" alt="Percent Bar Chart" /></a></td>
97 <td><a href="qt-charts-examples-piechart-example.html"><img src="images/examples_piechart.png" width="300" alt="Pie Chart" /></a></td>
98 </tr>
99
100 <tr>
101 <td><a href="qt-charts-examples-piechartdrilldown-example.html">Pie Chart Drilldown</a></td>
102 <td><a href="qt-charts-examples-polarchart-example.html">Polar chart</a></td>
103 </tr>
104 <tr>
105 <td><a href="qt-charts-examples-piechartdrilldown-example.html"><img src="images/examples_piechartdrill2.png" width="300" alt="Pie Chart Drilldown" /></a></td>
106 <td><a href="qt-charts-examples-polarchart-example.html"><img src="images/examples_polarchart.png" width="300" alt="Polar chart" /></a></td>
107 </tr>
108
109 <tr>
110 <td><a href="qt-charts-examples-scatterchart-example.html">Scatter chart</a></td>
111 <td><a href="qt-charts-examples-scatterinteractions-example.html">Scatter Interactions</a></td>
112 </tr>
113 <tr>
114 <td><a href="qt-charts-examples-scatterchart-example.html"><img src="images/examples_scatterchart.png" width="300" alt="Scatter chart" /></a></td>
115 <td><a href="qt-charts-examples-scatterinteractions-example.html"><img src="images/examples_scatterinteractions.png" width="300" alt="Scatter Interactions" /></a></td>
116 </tr>
117
118 <tr>
119 <td><a href="qt-charts-examples-splinechart-example.html">Spline Chart</a></td>
120 <td><a href="qt-charts-examples-stackedbarchart-example.html">Stacked Bar Chart</a></td>
121 </tr>
122 <tr>
123 <td><a href="qt-charts-examples-splinechart-example.html"><img src="images/examples_splinechart.png" width="300" alt="Spline Chart" /></a></td>
124 <td><a href="qt-charts-examples-stackedbarchart-example.html"><img src="images/examples_stackedbarchart.png" width="300" alt="Stacked Bar Chart" /></a></td>
125 </tr>
126
127 <tr>
128 <td><a href="qt-charts-examples-stackedbarchartdrilldown-example.html">Stacked Bar Chart Drilldown</a></td>
129 <td><a href="qt-charts-examples-temperaturerecords-example.html">Temperature Records</a></td>
130 </tr>
131 <tr>
132 <td><a href="qt-charts-examples-stackedbarchartdrilldown-example.html"><img src="images/examples_stackedbarchartdrilldown1.png" width="300" alt="Stacked Bar Chart Drilldown" /></a></td>
133 <td><a href="qt-charts-examples-temperaturerecords-example.html"><img src="images/examples_temperaturerecords.png" width="300" alt="Temperature Records" /></a></td>
134 </tr>
135
136 <tr>
137 <td><a href="qt-charts-examples-zoomlinechart-example.html">Zoom Line</a></td>
138 </tr>
139 <tr>
140 <td><a href="qt-charts-examples-zoomlinechart-example.html"><img src="images/examples_zoomlinechart1.png" width="300" alt="Zoom Line" /></a></td>
141 </tr>
142
143 </table>
144 </div>
145 \endraw
146
147 */
@@ -0,0 +1,43
1 /*!
2 \page index.html
3 \keyword About
4
5 \raw HTML
6 <div class="qchart">
7 <img src="images/qt-logo.png" alt="qt-logo" style="margin:0px 8px"/>
8
9 <p>
10 Qt Charts is a part of the Qt Enterprise addons package. It provides a set of easy to use chart
11 components which are available for Qt customers. It uses the Qt Graphics View
12 Framework, therefore charts can be easily integrated to modern user interfaces. Qt Charts can
13 be used as QWidgets, QGraphicsWidget, or QML types. Users can easily create impressive
14 graphs by selecting one of the charts themes.
15 </p>
16 <p>
17 Below are a few basic examples of the different chart types. You can find more applications
18 from the Examples and Demo sections of the documentation.
19 </p>
20
21 <table>
22 <tr>
23 <td><a href="qt-charts-examples-linechart-example.html"><img src="images/examples_linechart.png" width="440" alt="linechart" /></a></td>
24 <td><a href="qt-charts-examples-areachart-example.html"><img src="images/examples_areachart.png" width="440" alt="areachart" /></a></td>
25 </tr>
26 <tr>
27 <td><a href="qt-charts-examples-scatterchart-example.html"><img src="images/examples_scatterchart.png" width="440" alt="scatterchart" /></a></td>
28 <td><a href="qt-charts-examples-barchart-example.html"><img src="images/examples_barchart.png" width="440" alt="barchart" /></a></td>
29 </tr>
30 <tr>
31 <td><a href="qt-charts-examples-horizontalbarchart-example.html"><img src="images/examples_horizontalbarchart.png" width="440" alt="horizontalbarchart" /></a></td>
32 <td><a href="qt-charts-examples-piechart-example.html"><img src="images/examples_piechart.png" width="440" alt="piechart" /></a></td>
33 </tr>
34 <tr>
35 <td><a href="qt-charts-examples-splinechart-example.html"><img src="images/examples_splinechart.png" width="440" alt="linechart" /></a></td>
36 <td><a href="qt-charts-examples-customchart-example.html"><img src="images/examples_customchart.png" width="440" alt="customerchart" /></a></td>
37 </tr>
38 <tr>
39 </tr>
40 </table>
41 </div>
42 \endraw
43 */
@@ -0,0 +1,108
1 /*!
2 \page qml.html
3 \title Qt Charts QML API
4 \keyword Charts QML API
5
6 The Qt Charts QML API is an intuitive and simple way to show charts in your QML
7 applications.
8
9 \table
10 \row
11 \li \br
12 Use the following QML to create a simple pie chart:
13 \br
14 \br
15 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 1
16 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 2
17 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 3
18 \li \inlineimage examples_qmlpiechart.png
19 \endtable
20
21 \note Since Qt Charts utilizes Qt Graphics View Framework for drawing, it works best
22 with Qt Quick 1, which is based on the same framework.
23 As of release 1.3.0, Qt Charts is also usable with Qt Quick 2, though the performance
24 is slightly worse than with Qt Quick 1 due to the additional rendering step that is required.
25
26 \note Qt Quick 1 is supported from Qt 4.7.4 onwards because of the missing
27 Q_REVISION macro in the earlier Qt releases. Qt Quick 2 is supported with only Qt 5.
28
29 \raw HTML
30 <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable">
31 <tr>
32 <th class="titleheader" width="25%"> ChartView and it's properties </th>
33 </tr>
34 <tr>
35 <td valign="top">
36 <ul>
37 <li><a href="qml-qtcommercial-chart-chartview.html">ChartView</a></li>
38 <li><a href="qml-qtcommercial-chart-polarchartview.html">PolarChartView</a></li>
39 <li><a href="qml-qtcommercial-chart-abstractaxis.html">AbstractAxis</a></li>
40 <li><a href="qml-qtcommercial-chart-valueaxis.html">ValueAxis</a></li>
41 <li><a href="qml-qtcommercial-chart-logvalueaxis.html">LogValueAxis</a></li>
42 <li><a href="qml-qtcommercial-chart-categoryaxis.html">CategoryAxis</a></li>
43 <li><a href="qml-qtcommercial-chart-categoryrange.html">CategoryRange</a></li>
44 <li><a href="qml-qtcommercial-chart-barcategoryaxis.html">BarCategoryAxis</a></li>
45 <li><a href="qml-qtcommercial-chart-datetimeaxis.html">DateTimeAxis</a></li>
46 <li><a href="qml-qtcommercial-chart-legend.html">Legend</a></li>
47 <li><a href="qml-qtcommercial-chart-abstractseries.html">AbstractSeries</a></li>
48 </ul>
49 </td>
50 </tr>
51 </table>
52 <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable">
53 <tr>
54 <th class="titleheader" width="25%"> XY chart </th>
55 </tr>
56 <tr>
57 <td valign="top">
58 <ul>
59 <li><a href="qml-qtcommercial-chart-xyseries.html">XYSeries</a></li>
60 <li><a href="qml-qtcommercial-chart-lineseries.html">LineSeries</a></li>
61 <li><a href="qml-qtcommercial-chart-areaseries.html">AreaSeries</a></li>
62 <li><a href="qml-qtcommercial-chart-scatterseries.html">ScatterSeries</a></li>
63 <li><a href="qml-qtcommercial-chart-splineseries.html">SplineSeries</a></li>
64 <li><a href="qml-qtcommercial-chart-xypoint.html">XYPoint</a></li>
65 <li><a href="qml-qtcommercial-chart-hxymodelmapper.html">HXYModelMapper</a></li>
66 <li><a href="qml-qtcommercial-chart-vxymodelmapper.html">VXYModelMapper</a></li>
67 </ul>
68 </td>
69 </tr>
70 </table>
71 <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable">
72 <tr>
73 <th class="titleheader" width="25%"> Pie chart </th>
74 <tr>
75 <td valign="top">
76 <ul>
77 <li><a href="qml-qtcommercial-chart-pieseries.html">PieSeries</a></li>
78 <li><a href="qml-qtcommercial-chart-pieslice.html">PieSlice</a></li>
79 <li><a href="qml-qtcommercial-chart-hpiemodelmapper.html">HPieModelMapper</a></li>
80 <li><a href="qml-qtcommercial-chart-vpiemodelmapper.html">VPieModelMapper</a></li>
81 </ul>
82 </td>
83 </tr>
84 </table>
85 <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable">
86 <tr>
87 <th class="titleheader" width="25%"> Bar chart </th>
88 <tr>
89 <td valign="top">
90 <ul>
91 <li><a href="qml-qtcommercial-chart-barseries.html">BarSeries</a></li>
92 <li><a href="qml-qtcommercial-chart-stackedbarseries.html">StackedBarSeries</a></li>
93 <li><a href="qml-qtcommercial-chart-percentbarseries.html">PercentBarSeries</a></li>
94 <li><a href="qml-qtcommercial-chart-horizontalbarseries.html">HorizontalBarSeries</a></li>
95 <li><a href="qml-qtcommercial-chart-horizontalstackedbarseries.html">HorizontalStackedBarSeries</a></li>
96 <li><a href="qml-qtcommercial-chart-horizontalpercentbarseries.html">HorizontalPercentBarSeries</a></li>
97 <li><a href="qml-qtcommercial-chart-barset.html">BarSet</a></li>
98 <li><a href="qml-qtcommercial-chart-boxplotseries.html">BoxPlotSeries</a></li>
99 <li><a href="qml-qtcommercial-chart-boxset.html">BoxSet</a></li>
100 <li><a href="qml-qtcommercial-chart-hbarmodelmapper.html">HBarModelMapper</a></li>
101 <li><a href="qml-qtcommercial-chart-vbarmodelmapper.html">VBarModelMapper</a></li>
102 <li><a href="qml-qtcommercial-chart-vboxplotmodelmapper.html">VBoxPlotModelMapper</a></li>
103 </ul>
104 </td>
105 </tr>
106 </table>
107 \endraw
108 */
@@ -0,0 +1,3
1 /*!
2 \qmlmodule QtCommercial.Chart 1.3
3 */
@@ -20,11 +20,18 feature.files = $$PWD/features/qtcommercialchart.prf
20 20 INSTALLS += feature
21 21
22 22 # docs
23 CHARTS_VERSION = 1.3.0
24 CHARTS_VERSION_TAG = 130
23 CHARTS_VERSION = 1.3.1
24 CHARTS_VERSION_TAG = 131
25
26 contains(QT_MAJOR_VERSION, 5) {
27 QDOC_CONFFILE = qcharts-qt5.qdocconf
28 DEFINES += QDOC_QT5
29 } else {
30 QDOC_CONFFILE = qcharts-qt4.qdocconf
31 }
25 32
26 33 contains(QMAKE_HOST.os, Windows) {
27 QDOC_CONF = $$CHART_BUILD_DOC_DIR\\qcharts.qdocconf
34 QDOC_CONF = $$CHART_BUILD_DOC_DIR\\docconf\\$$QDOC_CONFFILE
28 35 win32-g++|qnx {
29 36 VERSION_SETTINGS = \
30 37 set QT_CHARTS_VERSION=$$CHARTS_VERSION&& set QT_CHARTS_VERSION_TAG=$$CHARTS_VERSION_TAG&&
@@ -34,7 +41,7 contains(QMAKE_HOST.os, Windows) {
34 41 set QT_CHARTS_VERSION_TAG=$$CHARTS_VERSION_TAG $$escape_expand(\\n\\t)
35 42 }
36 43 } else {
37 QDOC_CONF = $$CHART_BUILD_DOC_DIR/qcharts.qdocconf
44 QDOC_CONF = $$CHART_BUILD_DOC_DIR/docconf/$$QDOC_CONFFILE
38 45 VERSION_SETTINGS = \
39 46 QT_CHARTS_VERSION=$$CHARTS_VERSION QT_CHARTS_VERSION_TAG=$$CHARTS_VERSION_TAG
40 47 }
@@ -1,5 +1,5
1 1 macro.0 = "\\\\0"
2 macro.b = "\\\\b"
2 macro.b = "\\bold"
3 3 macro.n = "\\\\n"
4 4 macro.r = "\\\\r"
5 5 macro.i = "\\o"
@@ -26,3 +26,6 macro.relatesto = "\\relates"
26 26
27 27 spurious = "Missing comma in .*" \
28 28 "Missing pattern .*"
29
30 macro.li = "\\o"
31 macro.e = "\\i" No newline at end of file
1 NO CONTENT: file renamed from doc/macros.qdocconf to doc/docconf/macros.qdocconf
1 NO CONTENT: file renamed from doc/qchart-html-template.qdocconf to doc/docconf/qchart-html-template.qdocconf
@@ -4,7 +4,7
4 4
5 5 HTML.templatedir = .
6 6
7 HTML.stylesheets = style/offline.css
7 HTML.stylesheets = ../style/offline.css
8 8
9 9 HTML.scripts =
10 10
@@ -27,25 +27,24 extraimages.HTML = qt-logo.png \
27 27 bg.png
28 28
29 29 # extraimages definition for Qt5
30 HTML.extraimages = ./images/qt-logo.png \
31 ./images/digia_logo.png \
32 ./images/qcharts.png \
33 ./images/arrow_down.png \
34 ./images/breadcrumb.png \
35 ./images/bullet_gt.png \
36 ./images/bullet_dn.png \
37 ./images/bullet_sq.png \
38 ./images/bullet_up.png \
39 ./images/horBar.png \
40 ./images/presenterchart_example.png \
41 ./images/bg.png
30 HTML.extraimages = ../images/qt-logo.png \
31 ../images/digia_logo.png \
32 ../images/qcharts.png \
33 ../images/arrow_down.png \
34 ../images/breadcrumb.png \
35 ../images/bullet_gt.png \
36 ../images/bullet_dn.png \
37 ../images/bullet_sq.png \
38 ../images/bullet_up.png \
39 ../images/horBar.png \
40 ../images/bg.png
42 41
43 42 # Include the style sheets and scripts used.
44 43
45 44 HTML.headerstyles = \
46 45 " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
47 46
48 HTML.headerscripts =
47 HTML.headerscripts =
49 48
50 49 HTML.endheader = \
51 50 "</head>\n" \
@@ -1,4 +1,4
1 qhp.projects = QtCharts
1 qhp.projects = QtCharts
2 2 qhp.QtCharts.file = qtcharts.qhp
3 3 qhp.QtCharts.namespace = com.digia.qtcharts.$QT_CHARTS_VERSION_TAG
4 4 qhp.QtCharts.virtualFolder = doc
@@ -28,17 +28,17 qhp.QtCharts.subprojects.demos.indexTitle = Qt Charts Demos
28 28 # Files not referenced in any qdoc file.
29 29 # See also extraimages.HTML
30 30 qhp.QtCharts.extraFiles = index.html \
31 examples.html \
32 demos.html \
33 images/arrow_down.png \
34 images/bg.png \
35 images/breadcrumb.png \
36 images/bullet_gt.png \
37 images/bullet_dn.png \
38 images/bullet_sq.png \
39 images/bullet_up.png \
40 images/digia_logo.png \
41 images/horBar.png \
42 images/qcharts.png \
43 images/qt-logo.png \
44 style/offline.css
31 examples.html \
32 demos.html \
33 images/arrow_down.png \
34 images/bg.png \
35 images/breadcrumb.png \
36 images/bullet_gt.png \
37 images/bullet_dn.png \
38 images/bullet_sq.png \
39 images/bullet_up.png \
40 images/digia_logo.png \
41 images/horBar.png \
42 images/qcharts.png \
43 images/qt-logo.png \
44 style/offline.css
@@ -1,33 +1,24
1 include(compat.qdocconf)
2 include(macros.qdocconf)
3 include(qchart-html-template.qdocconf)
4 include(qchart-qch.qdocconf)
5
6 1 project = Qt Charts
7 2 description = Library for creating charts
3 version = 1.3.1
8 4
9 sourcedirs = ../src \
10 ../examples \
11 ./src \
12 ../plugins/declarative
13 headerdirs = ../src \
14 ../examples \
15 ../plugins/declarative
16 exampledirs = ../ \
17 ../src \
18 ../examples
19
20 excludefiles += ../examples/linechart/linechart.pro
5 sourcedirs = ../../src \
6 ../../examples \
7 ../src \
8 ../qch \
9 ../../plugins/declarative
10 headerdirs = ../../src \
11 ../../examples \
12 ../../plugins/declarative
13 exampledirs = ../../ \
14 ../../src \
15 ../../examples
21 16
22 sources.fileextensions = *.cpp *.qdoc *.mm *.qml
17 sources.fileextensions = *.cpp *.qdoc *.mm *.qml *.qdocinc
23 18 headers.fileextensions = *.h *.ch *.h++ *.hh *.hpp *.hxx
24 19 examples.fileextensions = *.cpp *.h *.js *.xq *.svg *.xml *.ui *.qhp *.qhcp *.qml
25 20 examples.imageextensions = *.png *.jpeg *.jpg *.gif *.mng
26 21
27 imagedirs = ./images
28 outputdir = ./html
29
30
31 22 Cpp.ignoretokens = QTCOMMERCIALCHART_EXPORT \
32 23 QTCOMMERCIALCHART_END_NAMESPACE \
33 24 QTCOMMERCIALCHART_BEGIN_NAMESPACE
@@ -89,6 +89,7
89 89 <li><a href="qboxset.html">QBoxSet</a></li>
90 90 <li><a href="qhbarmodelmapper.html">QHBarModelMapper</a></li>
91 91 <li><a href="qvbarmodelmapper.html">QVBarModelMapper</a></li>
92 <li><a href="qvboxplotmodelmapper.html">QVBoxPlotModelMapper</a></li>
92 93 <li><a href="qhorizontalbarseries.html">QHorizontalBarSeries</a></li>
93 94 <li><a href="qhorizontalstackedbarseries.html">QHorizontalStackedBarSeries</a></li>
94 95 <li><a href="qhorizontalpercentbarseries.html">QHorizontalPercentBarSeries</a></li>
@@ -7,26 +7,26
7 7
8 8 \table
9 9 \row
10 \o \br
10 \li \br
11 11 We begin with a chart that has a line series and a scatter series with random
12 12 data. Both series use the same axes.
13 13 \br
14 14 \br
15 15 \snippet ../demos/qmlaxes/qml/qmlaxes/View1.qml 1
16 \o \inlineimage demos_qmlaxes1.png
16 \li \inlineimage demos_qmlaxes1.png
17 17 \row
18 \o \br
18 \li \br
19 19 The next example shows a chart with some accurate historical data that makes us to use a DateTimeAxis.
20 20 \br
21 21 \br
22 22 \snippet ../demos/qmlaxes/qml/qmlaxes/View2.qml 1
23 \o \inlineimage demos_qmlaxes2.png
23 \li \inlineimage demos_qmlaxes2.png
24 24 \row
25 \o \br
25 \li \br
26 26 And the final example with a chart that uses a CategoryAxis to make the data easier to understand.
27 27 \br
28 28 \br
29 29 \snippet ../demos/qmlaxes/qml/qmlaxes/View3.qml 1
30 \o \inlineimage demos_qmlaxes3.png
30 \li \inlineimage demos_qmlaxes3.png
31 31 \endtable
32 32 */
@@ -8,111 +8,111
8 8
9 9 \table
10 10 \row
11 \o \br
11 \li \br
12 12 To create a pie, we use the PieSeries API together with a few PieSlices:
13 13 \br
14 14 \br
15 15 \snippet ../demos/qmlchart/qml/qmlchart/View1.qml 1
16 \o \inlineimage demos_qmlchart1.png
16 \li \inlineimage demos_qmlchart1.png
17 17 \endtable
18 18
19 19 \table
20 20 \row
21 \o \br
21 \li \br
22 22 To create a chart with a line series:
23 23 \br
24 24 \br
25 25 \snippet ../demos/qmlchart/qml/qmlchart/View2.qml 1
26 \o \inlineimage demos_qmlchart2.png
26 \li \inlineimage demos_qmlchart2.png
27 27 \endtable
28 28
29 29 \table
30 30 \row
31 \o \br
31 \li \br
32 32 And spline series:
33 33 \br
34 34 \br
35 35 \snippet ../demos/qmlchart/qml/qmlchart/View3.qml 1
36 \o \inlineimage demos_qmlchart3.png
36 \li \inlineimage demos_qmlchart3.png
37 37 \endtable
38 38
39 39 \table
40 40 \row
41 \o \br
41 \li \br
42 42 Then we create a chart that illustrates the NHL All-Star player selections by using three area series:
43 43 \br
44 44 \br
45 45 \snippet ../demos/qmlchart/qml/qmlchart/View4.qml 1
46 \o \inlineimage demos_qmlchart4.png
46 \li \inlineimage demos_qmlchart4.png
47 47 \endtable
48 48
49 49 \table
50 50 \row
51 \o \br
51 \li \br
52 52 Then a couple of scatter series:
53 53 \br
54 54 \br
55 55 \snippet ../demos/qmlchart/qml/qmlchart/View5.qml 1
56 \o \inlineimage demos_qmlchart5.png
56 \li \inlineimage demos_qmlchart5.png
57 57 \endtable
58 58
59 59 And a few different bar series:
60 60 \table
61 61 \row
62 \o \br
62 \li \br
63 63 \br
64 64 \br
65 65 \snippet ../demos/qmlchart/qml/qmlchart/View6.qml 1
66 \o \inlineimage demos_qmlchart6.png
66 \li \inlineimage demos_qmlchart6.png
67 67 \endtable
68 68 \table
69 69 \row
70 \o \br
70 \li \br
71 71 \br
72 72 \br
73 73 \snippet ../demos/qmlchart/qml/qmlchart/View7.qml 1
74 \o \inlineimage demos_qmlchart7.png
74 \li \inlineimage demos_qmlchart7.png
75 75 \endtable
76 76 \table
77 77 \row
78 \o \br
78 \li \br
79 79 \br
80 80 \br
81 81 \snippet ../demos/qmlchart/qml/qmlchart/View8.qml 1
82 \o \inlineimage demos_qmlchart8.png
82 \li \inlineimage demos_qmlchart8.png
83 83 \endtable
84 84 \table
85 85 \row
86 \o \br
86 \li \br
87 87 \br
88 88 \br
89 89 \snippet ../demos/qmlchart/qml/qmlchart/View9.qml 1
90 \o \inlineimage demos_qmlchart9.png
90 \li \inlineimage demos_qmlchart9.png
91 91 \endtable
92 92 \table
93 93 \row
94 \o \br
94 \li \br
95 95 \br
96 96 \br
97 97 \snippet ../demos/qmlchart/qml/qmlchart/View10.qml 1
98 \o \inlineimage demos_qmlchart10.png
98 \li \inlineimage demos_qmlchart10.png
99 99 \endtable
100 100 \table
101 101 \row
102 \o \br
102 \li \br
103 103 \br
104 104 \br
105 105 \snippet ../demos/qmlchart/qml/qmlchart/View11.qml 1
106 \o \inlineimage demos_qmlchart11.png
106 \li \inlineimage demos_qmlchart11.png
107 107 \endtable
108 108
109 109 \table
110 110 \row
111 \o \br
111 \li \br
112 112 And finally an example demonstrating how to create a donut chart with two pie series:
113 113 \br
114 114 \br
115 115 \snippet ../demos/qmlchart/qml/qmlchart/View12.qml 1
116 \o \inlineimage demos_qmlchart12.png
116 \li \inlineimage demos_qmlchart12.png
117 117 \endtable
118 118 */
@@ -8,16 +8,16
8 8
9 9 \table
10 10 \row
11 \o \br
11 \li \br
12 12 The main view of the application shows a stacked area chart. This is how one of
13 13 \br
14 14 the stacked areas is created. See ChartViewStacked.qml and AnimatedAreaSeries.qml.
15 15 \br
16 16 \br
17 17 \snippet ../demos/qmlcustomlegend/qml/qmlcustomlegend/ChartViewStacked.qml 1
18 \o \inlineimage demos-qmlcustomlegend1.png
18 \li \inlineimage demos-qmlcustomlegend1.png
19 19 \row
20 \o \br
20 \li \br
21 21 Hovering with mouse on top of the legend will highlight the hovered series.
22 22 \br
23 23 (see CustomLegend.qml).
@@ -26,15 +26,15
26 26 \snippet ../demos/qmlcustomlegend/qml/qmlcustomlegend/CustomLegend.qml 1
27 27 \snippet ../demos/qmlcustomlegend/qml/qmlcustomlegend/CustomLegend.qml 2
28 28 \snippet ../demos/qmlcustomlegend/qml/qmlcustomlegend/CustomLegend.qml 3
29 \o \inlineimage demos-qmlcustomlegend2.png
29 \li \inlineimage demos-qmlcustomlegend2.png
30 30 \row
31 \o \br
31 \li \br
32 32 You can also select one of the stacked areas for a closer look as a line series by
33 33 \br
34 34 a mouse click (see ChartViewHighlighted.qml).
35 35 \br
36 36 \br
37 37 \snippet ../demos/qmlcustomlegend/qml/qmlcustomlegend/ChartViewHighlighted.qml 1
38 \o \inlineimage demos-qmlcustomlegend3.png
38 \li \inlineimage demos-qmlcustomlegend3.png
39 39 \endtable
40 40 */
@@ -7,27 +7,27
7 7
8 8 \table
9 9 \row
10 \o \br
10 \li \br
11 11 We begin with a chart that has a spline series and a scatter series with random
12 12 data. Both series use the same axes.
13 13 \br
14 14 \br
15 15 \snippet ../demos/qmlpolarchart/qml/qmlpolarchart/View1.qml 1
16 \o \inlineimage demos_qmlpolarchart1.png
16 \li \inlineimage demos_qmlpolarchart1.png
17 17 \row
18 \o \br
18 \li \br
19 19 The next example shows a chart with some accurate historical data for which we need to use a DateTimeAxis
20 20 and a AreaSeries.
21 21 \br
22 22 \br
23 23 \snippet ../demos/qmlpolarchart/qml/qmlpolarchart/View2.qml 1
24 \o \inlineimage demos_qmlpolarchart2.png
24 \li \inlineimage demos_qmlpolarchart2.png
25 25 \row
26 \o \br
26 \li \br
27 27 And the final example with a chart that uses a CategoryAxis to make the data easier to understand.
28 28 \br
29 29 \br
30 30 \snippet ../demos/qmlpolarchart/qml/qmlpolarchart/View3.qml 1
31 \o \inlineimage demos_qmlpolarchart3.png
31 \li \inlineimage demos_qmlpolarchart3.png
32 32 \endtable
33 33 */
@@ -10,8 +10,8
10 10
11 11 \table
12 12 \row
13 \o \inlineimage examples_legend_detach.png
14 \o \inlineimage examples_legend_detach2.png
13 \li \inlineimage examples_legend_detach.png
14 \li \inlineimage examples_legend_detach2.png
15 15 \endtable
16 16
17 17 Here we turn the legend visible and set its alignment to the bottom of the chart.
@@ -31,7 +31,7
31 31 make install
32 32 \endcode
33 33
34 Please note that the \i build_all option is necessary for the install to work correctly. Otherwise it will not install both versions.
34 Please note that the \e build_all option is necessary for the install to work correctly. Otherwise it will not install both versions.
35 35
36 36 Building without demos and examples:
37 37 \code
@@ -40,7 +40,7
40 40 make install
41 41 \endcode
42 42
43 \bold {New project}
43 \b {New project}
44 44
45 45 Create a new project in a usual way and then add to your project's *.pro file following line:
46 46
@@ -48,7 +48,7
48 48 CONFIG += qtcommercialchart
49 49 \endcode
50 50
51 \bold {Widget project}
51 \b {Widget project}
52 52
53 53 To use the Qt Charts classes add Qt Charts namespace macro in your header file.
54 54 \code
@@ -60,7 +60,7
60 60 class ExampleWidget : public QWidget
61 61 \endcode
62 62
63 \bold {QML project}
63 \b {QML project}
64 64
65 65 Add an import line to your *.qml file:
66 66 \code
1 NO CONTENT: file renamed from doc/src/demos.qdoc to doc/src_qt4/demos.qdoc
1 NO CONTENT: file renamed from doc/src/examples.qdoc to doc/src_qt4/examples.qdoc
1 NO CONTENT: file renamed from doc/src/index.qdoc to doc/src_qt4/index.qdoc
@@ -8,14 +8,14
8 8
9 9 \table
10 10 \row
11 \o \br
11 \li \br
12 12 Use the following QML to create a simple pie chart:
13 13 \br
14 14 \br
15 15 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 1
16 16 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 2
17 17 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 3
18 \o \inlineimage examples_qmlpiechart.png
18 \li \inlineimage examples_qmlpiechart.png
19 19 \endtable
20 20
21 21 \note Since Qt Charts utilizes Qt Graphics View Framework for drawing, it works best
@@ -38,7 +38,7
38 38 <li><a href="qml-polarchartview.html">PolarChartView</a></li>
39 39 <li><a href="qml-abstractaxis.html">AbstractAxis</a></li>
40 40 <li><a href="qml-valueaxis.html">ValueAxis</a></li>
41 <li><a href="qml-logvaluesaxis.html">LogValueAxis</a></li>
41 <li><a href="qml-logvalueaxis.html">LogValueAxis</a></li>
42 42 <li><a href="qml-categoryaxis.html">CategoryAxis</a></li>
43 43 <li><a href="qml-categoryrange.html">CategoryRange</a></li>
44 44 <li><a href="qml-barcategoryaxis.html">BarCategoryAxis</a></li>
@@ -99,6 +99,7
99 99 <li><a href="qml-boxset.html">BoxSet</a></li>
100 100 <li><a href="qml-hbarmodelmapper.html">HBarModelMapper</a></li>
101 101 <li><a href="qml-vbarmodelmapper.html">VBarModelMapper</a></li>
102 <li><a href="qml-vboxplotmodelmapper.html">VBoxPlotModelMapper</a></li>
102 103 </ul>
103 104 </td>
104 105 </tr>
@@ -25,16 +25,21
25 25
26 26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27 27
28 #ifdef QDOC_QT5
29 /*!
30 \qmltype BoxSet
31 \instantiates QBoxSet
32 \inqmlmodule QtCommercial.Chart
33
34 \include /doc/src/declarativeboxset.qdocinc
35 */
36 #else
28 37 /*!
29 38 \qmlclass BoxSet QBoxSet
30 39
31 BoxSet represents one box-and-whiskers item. It takes five values to create a graphical representation
32 of range and three medians. There are two ways to give the values. The first one is with constructor
33 or with append method. In these the values have to be given in the following order: lower extreme, lower quartile, median,
34 upper quartile and upper extreme. The second method is to create an empty QBoxSet instance and give the values using
35 value specific methods.
36 \sa BoxPlotSeries
40 \include ../doc/src/declarativeboxset.qdocinc
37 41 */
42 #endif
38 43 /*!
39 44 \qmlproperty string BoxSet::values
40 45 The values on the box-and-whiskers set.
@@ -95,43 +100,22 QTCOMMERCIALCHART_BEGIN_NAMESPACE
95 100 */
96 101
97 102
103 #ifdef QDOC_QT5
98 104 /*!
99 \qmlclass BoxPlotSeries QBoxPlotSeries
100 \inherits QAbstractSeries
101
102 BoxPlotSeries represents a series of data shown as box-and-whiskers bars. The purpose of this class is to act as
103 a container for single box-and-whiskers items. Each item is drawn to own slot. If chart includes multiple instances of
104 BoxPlotSeries then box-and-whiskers items with the same index are drawn to same slot.
105
106 The following QML shows how to create a simple box-and-whiskers chart:
107 \code
108 import QtQuick 1.0
109 import QtCommercial.Chart 1.3
110
111 ChartView {
112 title: "Box Plot series"
113 width: 400
114 height: 300
115 theme: ChartView.ChartThemeBrownSand
116 legend.alignment: Qt.AlignBottom
105 \qmltype BoxPlotSeries
106 \instantiates QBoxPlotSeries
107 \inqmlmodule QtCommercial.Chart
117 108
118 BoxPlotSeries {
119 id: plotSeries
120 name: "Income"
121 BoxSet { label: "Jan"; values: [3, 4, 5.1, 6.2, 8.5] }
122 BoxSet { label: "Feb"; values: [5, 6, 7.5, 8.6, 11.8] }
123 BoxSet { label: "Mar"; values: [3.2, 5, 5.7, 8, 9.2] }
124 BoxSet { label: "Apr"; values: [3.8, 5, 6.4, 7, 8] }
125 BoxSet { label: "May"; values: [4, 5, 5.2, 6, 7] }
126 }
127 }
128 \endcode
109 \include /doc/src/declarativeboxplotseries.qdocinc
110 */
111 #else
112 /*!
113 \qmlclass BoxPlotSeries QBoxPlotSeries
129 114
130 \beginfloatleft
131 \image examples_qmlboxplot.png
132 \endfloat
133 \clearfloat
115 \include ../doc/src/declarativeboxplotseries.qdocinc
134 116 */
117 #endif
118
135 119 /*!
136 120 \qmlmethod BoxPlotSeries::append(string label, VariantList values)
137 121 Appends a new box-and-whiskers set with \a label and \a values to the series.
@@ -23,11 +23,20
23 23
24 24 QTCOMMERCIALCHART_BEGIN_NAMESPACE
25 25
26 #ifdef QDOC_QT5
27 /*!
28 \qmltype CategoryRange
29 \inqmlmodule QtCommercial.Chart
30
31 \include /doc/src/categoryrange.qdocinc
32 */
33 #else
26 34 /*!
27 35 \qmlclass CategoryRange
28 \brief With CategoryRange you can define a range used by a CategoryAxis.
29 \sa CategoryAxis
36
37 \include ../doc/src/categoryrange.qdocinc
30 38 */
39 #endif
31 40
32 41 DeclarativeCategoryRange::DeclarativeCategoryRange(QObject *parent) :
33 42 QObject(parent),
@@ -52,21 +52,21
52 52
53 53 QTCOMMERCIALCHART_BEGIN_NAMESPACE
54 54
55 #ifdef QDOC_QT5
55 56 /*!
56 \qmlclass ChartView DeclarativeChart
57
58 ChartView element is the parent that is responsible for showing different chart series types.
57 \qmltype ChartView
58 \instantiates DeclarativeChart
59 \inqmlmodule QtCommercial.Chart
59 60
60 The following QML shows how to create a simple chart with one pie series:
61 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 1
62 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 2
63 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 3
61 \include /doc/src/chartview.qdocinc
62 */
63 #else
64 /*!
65 \qmlclass ChartView DeclarativeChart
64 66
65 \beginfloatleft
66 \image examples_qmlpiechart.png
67 \endfloat
68 \clearfloat
67 \include ../doc/src/chartview.qdocinc
69 68 */
69 #endif
70 70
71 71 /*!
72 72 \qmlproperty Theme ChartView::theme
@@ -82,9 +82,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
82 82
83 83 /*!
84 84 \qmlproperty Font ChartView::titleFont
85 The title font of the chart
85 The title font of the chart.
86 86
87 See the \l {Font} {QML Font Element} for detailed documentation.
87 See the Qt documentation for more details of Font.
88 88 */
89 89
90 90 /*!
@@ -24,10 +24,20
24 24
25 25 QTCOMMERCIALCHART_BEGIN_NAMESPACE
26 26
27 #ifdef QDOC_QT5
28 /*!
29 \qmltype Margins
30 \inqmlmodule QtCommercial.Chart
31
32 \include /doc/src/margins.qdocinc
33 */
34 #else
27 35 /*!
28 36 \qmlclass Margins
29 Uncreatable type that is used to define top, bottom, left and right margins.
37
38 \include ../doc/src/margins.qdocinc
30 39 */
40 #endif
31 41
32 42 /*!
33 43 \qmlproperty int Margins::top
@@ -23,30 +23,21
23 23
24 24 QTCOMMERCIALCHART_BEGIN_NAMESPACE
25 25
26 #ifdef QDOC_QT5
26 27 /*!
27 \qmlclass PolarChartView DeclarativePolarChart
28
29 PolarChartView element is the parent that is responsible for showing different chart series types
30 in a polar chart.
31
32 Polar charts support line, spline, area, and scatter series, and all axis types
33 supported by those series.
34
35 \note When setting ticks to an angular ValueAxis, keep in mind that the first and last tick
36 are co-located at 0/360 degree angle.
28 \qmltype PolarChartView
29 \instantiates DeclarativePolarChart
30 \inqmlmodule QtCommercial.Chart
37 31
38 \note If the angular distance between two consecutive points in a series is more than 180 degrees,
39 any line connecting the two points becomes meaningless, so choose the axis ranges accordingly
40 when displaying line, spline, or area series.
41
42 The following QML shows how to create a polar chart with two series:
43 \snippet ../demos/qmlpolarchart/qml/qmlpolarchart/View1.qml 1
32 \include /doc/src/declarativepolarchart.qdocinc
33 */
34 #else
35 /*!
36 \qmlclass PolarChartView DeclarativePolarChart
44 37
45 \beginfloatleft
46 \image demos_qmlpolarchart1.png
47 \endfloat
48 \clearfloat
38 \include ../doc/src/declarativepolarchart.qdocinc
49 39 */
40 #endif
50 41
51 42 DeclarativePolarChart::DeclarativePolarChart(QDECLARATIVE_ITEM *parent)
52 43 : DeclarativeChart(QChart::ChartTypePolar, parent)
@@ -23,12 +23,20
23 23
24 24 QTCOMMERCIALCHART_BEGIN_NAMESPACE
25 25
26 #ifdef QDOC_QT5
27 /*!
28 \qmltype XYPoint
29 \inqmlmodule QtCommercial.Chart
30
31 \include /doc/src/declarativexypoint.qdocinc
32 */
33 #else
26 34 /*!
27 35 \qmlclass XYPoint QPointF
28 XYPoint is a convenience element for initializing XY-series with static coordinate data. To
29 manipulate an XY-series dynamically, use it's data manipulation functions instead.
30 \sa LineSeries, AreaSeries, ScatterSeries, SplineSeries
36
37 \include ../doc/src/declarativexypoint.qdocinc
31 38 */
39 #endif
32 40
33 41 /*!
34 42 \qmlproperty real XYPoint::x
@@ -33,6 +33,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
33 33
34 34 /*!
35 35 \class QAreaSeries
36 \inmodule Qt Charts
36 37 \brief The QAreaSeries class is used for making area charts.
37 38
38 39 \mainclass
@@ -46,16 +47,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
46 47 See the \l {AreaChart Example} {area chart example} to learn how to create a simple area chart.
47 48 \image examples_areachart.png
48 49 */
50 #ifdef QDOC_QT5
51 /*!
52 \qmltype AreaSeries
53 \instantiates QAreaSeries
54 \inqmlmodule QtCommercial.Chart
55
56 \include /doc/src/areaseries.qdocinc
57 */
58 #else
49 59 /*!
50 60 \qmlclass AreaSeries QAreaSeries
51 61
52 The following QML shows how to create a simple area chart:
53 \snippet ../demos/qmlchart/qml/qmlchart/View4.qml 1
54 \beginfloatleft
55 \image demos_qmlchart4.png
56 \endfloat
57 \clearfloat
62 \include ../doc/src/areaseries.qdocinc
58 63 */
64 #endif
59 65
60 66 /*!
61 67 \property QAreaSeries::upperSeries
@@ -29,6 +29,7
29 29 QTCOMMERCIALCHART_BEGIN_NAMESPACE
30 30 /*!
31 31 \class QBarCategoryAxis
32 \inmodule Qt Charts
32 33 \brief The QBarCategoryAxis class is used for manipulating chart's axis.
33 34 \mainclass
34 35
@@ -53,25 +54,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
53 54 \endcode
54 55 */
55 56
57 #ifdef QDOC_QT5
56 58 /*!
57 \qmlclass BarCategoryAxis QBarCategoryAxis
58 \inherits AbstractAxis
59 \brief The Axis element is used for manipulating chart's axes.
59 \qmltype BarCategoryAxis
60 \instantiates QBarCategoryAxis
61 \inqmlmodule QtCommercial.Chart
60 62
61 Axis can be setup to show axis line with tick marks, grid lines and shades.
62 Categories are drawn between ticks. Note that you can use this also with lineseries too.
63 \include /doc/src/barcategoryaxis.qdocinc
64 */
65 #else
66 /*!
67 \qmlclass BarCategoryAxis QBarCategoryAxis
63 68
64 To access BarCategoryAxis you can use ChartView API. For example:
65 \code
66 ChartView {
67 BarCategoryAxis {
68 id: categoryAxis
69 categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun" ]
70 }
71 // Add a few series...
72 }
73 \endcode
69 \include ../doc/src/barcategoryaxis.qdocinc
74 70 */
71 #endif
75 72
76 73 /*!
77 74 \property QBarCategoryAxis::categories
@@ -31,6 +31,7
31 31 QTCOMMERCIALCHART_BEGIN_NAMESPACE
32 32 /*!
33 33 \class QCategoryAxis
34 \inmodule Qt Charts
34 35 \brief The QCategoryAxis class allows putting a named ranges on the axis.
35 36 \mainclass
36 37
@@ -40,7 +41,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
40 41 Example code on how to use QCategoryAxis:
41 42 \table
42 43 \row
43 \o \br
44 \li \br
44 45 \br
45 46 \code
46 47 QChartView *chartView = new QChartView;
@@ -57,25 +58,25 QTCOMMERCIALCHART_BEGIN_NAMESPACE
57 58 axisY->append("Third", 52);
58 59 chartView->chart()->setAxisY(axisY, series);
59 60 \endcode
60 \o \br
61 \li \br
61 62 \inlineimage api_category_axis.png
62 63 \endtable
63 64 */
65 #ifdef QDOC_QT5
66 /*!
67 \qmltype CategoryAxis
68 \instantiates QCategoryAxis
69 \inqmlmodule QtCommercial.Chart
70
71 \include /doc/src/categoryaxis.qdocinc
72 */
73 #else
64 74 /*!
65 75 \qmlclass CategoryAxis QCategoryAxis
66 \inherits AbstractAxis
67 \brief CategoryAxis allows putting a named ranges on the axis.
68 76
69 For example:
70 \table
71 \row
72 \o \br
73 \br
74 \br
75 \snippet ../demos/qmlaxes/qml/qmlaxes/View3.qml 1
76 \o \inlineimage demos_qmlaxes3.png
77 \endtable
77 \include ../doc/src/categoryaxis.qdocinc
78 78 */
79 #endif
79 80
80 81 /*!
81 82 \property QCategoryAxis::startValue
@@ -32,6 +32,7
32 32 QTCOMMERCIALCHART_BEGIN_NAMESPACE
33 33 /*!
34 34 \class QDateTimeAxis
35 \inmodule Qt Charts
35 36 \brief The QDateTimeAxis class is used for manipulating chart's axis.
36 37 \mainclass
37 38
@@ -73,15 +74,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
73 74 \endcode
74 75 */
75 76
77 #ifdef QDOC_QT5
78 /*!
79 \qmltype DateTimeAxis
80 \instantiates QDateTimeAxis
81 \inqmlmodule QtCommercial.Chart
82
83 \include /doc/src/datetimeaxis.qdocinc
84 */
85 #else
76 86 /*!
77 87 \qmlclass DateTimeAxis QDateTimeAxis
78 \brief The DateTimeAxis element is used for manipulating chart's axes.
79 \inherits AbstractAxis
80 88
81 The labels can be configured by setting an appropriate DateTime format.
82 Note that any date before 4714 BCE or after about 1.4 million CE may not be accurately stored.
83 DateTimeAxis can be setup to show axis line with tick marks, grid lines and shades.
89 \include ../doc/src/datetimeaxis.qdocinc
84 90 */
91 #endif
85 92
86 93 /*!
87 94 \property QDateTimeAxis::min
@@ -31,6 +31,7
31 31 QTCOMMERCIALCHART_BEGIN_NAMESPACE
32 32 /*!
33 33 \class QLogValueAxis
34 \inmodule Qt Charts
34 35 \brief The QLogValueAxis class is used for manipulating chart's axis.
35 36 \mainclass
36 37
@@ -40,16 +41,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
40 41 since empty cells in models typically contain zero values.
41 42 */
42 43
44 #ifdef QDOC_QT5
45 /*!
46 \qmltype LogValueAxis
47 \instantiates QLogValueAxis
48 \inqmlmodule QtCommercial.Chart
49
50 \include /doc/src/logvalueaxis.qdocinc
51 */
52 #else
43 53 /*!
44 54 \qmlclass LogValueAxis QLogValueAxis
45 \brief The LogValueAxis element is used for manipulating chart's axes.
46 \inherits AbstractAxis
47 55
48 \note If a LogValueAxis is attached to a series with one or more points with
49 negative or zero values on the associated dimension, the series will not be
50 plotted at all. This is particularly relevant when XYModelMappers are used,
51 since empty cells in models typically contain zero values.
56 \include ../doc/src/logvalueaxis.qdocinc
52 57 */
58 #endif
53 59
54 60 /*!
55 61 \property QLogValueAxis::min
@@ -28,6 +28,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
28 28
29 29 /*!
30 30 \class QAbstractAxis
31 \inmodule Qt Charts
31 32 \brief The QAbstractAxis class is used for manipulating chart's axis.
32 33 \mainclass
33 34
@@ -38,16 +39,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
38 39 Properties and visibility of various axis elements such as axis line, title, labels, grid lines,
39 40 and shades can be individually controlled.
40 41 */
42 #ifdef QDOC_QT5
43 /*!
44 \qmltype AbstractAxis
45 \instantiates QAbstractAxis
46 \inqmlmodule QtCommercial.Chart
41 47
48 \include /doc/src/abstractaxis.qdocinc
49 */
50 #else
42 51 /*!
43 52 \qmlclass AbstractAxis QAbstractAxis
44 \brief The AbstractAxis is a base element used for specialized axis elements.
45
46 Each series can be bound to only one horizontal and vertical axis.
47 53
48 Properties and visibility of various axis elements such as axis line, title, labels, grid lines,
49 and shades can be individually controlled.
54 \include ../doc/src/abstractaxis.qdocinc
50 55 */
56 #endif
51 57
52 58 /*!
53 59 \enum QAbstractAxis::AxisType
@@ -142,7 +148,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
142 148 \qmlproperty Font AbstractAxis::labelsFont
143 149 The font of the axis labels.
144 150
145 See the \l {Font} {QML Font Element} for detailed documentation.
151 See the Qt documentation for more details of Font.
146 152 */
147 153
148 154 /*!
@@ -33,6 +33,7
33 33 QTCOMMERCIALCHART_BEGIN_NAMESPACE
34 34 /*!
35 35 \class QValueAxis
36 \inmodule Qt Charts
36 37 \brief The QValueAxis class is used for manipulating chart's axis.
37 38 \mainclass
38 39
@@ -53,27 +54,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
53 54 chartView->chart()->setAxisX(axisX, series);
54 55 \endcode
55 56 */
57 #ifdef QDOC_QT5
58 /*!
59 \qmltype ValueAxis
60 \instantiates QValueAxis
61 \inqmlmodule QtCommercial.Chart
56 62
63 \include /doc/src/valueaxis.qdocinc
64 */
65 #else
57 66 /*!
58 67 \qmlclass ValueAxis QValueAxis
59 \inherits AbstractAxis
60 \brief The ValueAxis element is used for manipulating chart's axes
61
62 ValueAxis can be setup to show axis line with tick marks, grid lines and shades.
63 Values of axis are drawn to position of ticks
64 68
65 Example about using ValueAxis:
66 \code
67 ChartView {
68 ValueAxis {
69 id: xAxis
70 min: 0
71 max: 10
72 }
73 // Add a few series...
74 }
75 \endcode
69 \include ../doc/src/valueaxis.qdocinc
76 70 */
71 #endif
77 72
78 73 /*!
79 74 \property QValueAxis::min
@@ -31,6 +31,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
31 31
32 32 /*!
33 33 \class QHorizontalBarSeries
34 \inmodule Qt Charts
34 35 \brief Series for creating horizontal bar chart.
35 36 \mainclass
36 37
@@ -43,17 +44,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
43 44
44 45 \sa QBarSet, QBarSeries, QPercentBarSeries, QAbstractBarSeries, QStackedBarSeries, QHorizontalStackedBarSeries, QHorizontalPercentBarSeries
45 46 */
47 #ifdef QDOC_QT5
48 /*!
49 \qmltype HorizontalBarSeries
50 \instantiates QHorizontalBarSeries
51 \inqmlmodule QtCommercial.Chart
52
53 \include /doc/src/horizontalbarseries.qdocinc
54 */
55 #else
46 56 /*!
47 57 \qmlclass HorizontalBarSeries QHorizontalBarSeries
48 \inherits AbstractBarSeries
49
50 The following QML shows how to create a simple horizontal bar chart:
51 \snippet ../demos/qmlchart/qml/qmlchart/View9.qml 1
52 \beginfloatleft
53 \image demos_qmlchart9.png
54 \endfloat
55 \clearfloat
58
59 \include ../doc/src/horizontalbarseries.qdocinc
56 60 */
61 #endif
57 62
58 63 /*!
59 64 Constructs empty QHorizontalBarSeries.
@@ -28,6 +28,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
28 28
29 29 /*!
30 30 \class QHorizontalPercentBarSeries
31 \inmodule Qt Charts
31 32 \brief Series for creating horizontal percent bar chart.
32 33 \mainclass
33 34
@@ -40,17 +41,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
40 41
41 42 \sa QBarSet, QBarSeries, QPercentBarSeries, QAbstractBarSeries, QStackedBarSeries, QHorizontalStackedBarSeries, QHorizontalBarSeries
42 43 */
44 #ifdef QDOC_QT5
45 /*!
46 \qmltype HorizontalPercentBarSeries
47 \instantiates QHorizontalPercentBarSeries
48 \inqmlmodule QtCommercial.Chart
49
50 \include /doc/src/horizontalpercentbarseries.qdocinc
51 */
52 #else
43 53 /*!
44 54 \qmlclass HorizontalPercentBarSeries QHorizontalPercentBarSeries
45 \inherits QAbstractBarSeries
46
47 The following QML shows how to create a simple horizontal percent bar chart:
48 \snippet ../demos/qmlchart/qml/qmlchart/View11.qml 1
49 \beginfloatleft
50 \image demos_qmlchart11.png
51 \endfloat
52 \clearfloat
55
56 \include ../doc/src/horizontalpercentbarseries.qdocinc
53 57 */
58 #endif
54 59
55 60 /*!
56 61 Constructs empty QHorizontalPercentBarSeries.
@@ -27,6 +27,7
27 27 QTCOMMERCIALCHART_BEGIN_NAMESPACE
28 28 /*!
29 29 \class QHorizontalStackedBarSeries
30 \inmodule Qt Charts
30 31 \brief Series for creating horizontal stacked bar chart.
31 32 \mainclass
32 33
@@ -39,17 +40,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
39 40
40 41 \sa QBarSet, QBarSeries, QPercentBarSeries, QAbstractBarSeries, QStackedBarSeries, QHorizontalPercentBarSeries, QHorizontalBarSeries
41 42 */
43 #ifdef QDOC_QT5
44 /*!
45 \qmltype HorizontalStackedBarSeries
46 \instantiates QHorizontalStackedBarSeries
47 \inqmlmodule QtCommercial.Chart
48
49 \include /doc/src/horizontalstackedbarseries.qdocinc
50 */
51 #else
42 52 /*!
43 53 \qmlclass HorizontalStackedBarSeries QHorizontalStackedBarSeries
44 \inherits QAbstractBarSeries
45
46 The following QML shows how to create a simple horizontal stacked bar chart:
47 \snippet ../demos/qmlchart/qml/qmlchart/View10.qml 1
48 \beginfloatleft
49 \image demos_qmlchart10.png
50 \endfloat
51 \clearfloat
54
55 \include ../doc/src/horizontalstackedbarseries.qdocinc
52 56 */
57 #endif
53 58
54 59 /*!
55 60 Constructs empty QHorizontalStackedBarSeries.
@@ -36,6 +36,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
36 36
37 37 /*!
38 38 \class QAbstractBarSeries
39 \inmodule Qt Charts
39 40 \brief Series for creating a bar chart.
40 41 \mainclass
41 42
@@ -49,18 +50,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
49 50
50 51 \sa QBarSet, QStackedBarSeries, QPercentBarSeries
51 52 */
53 #ifdef QDOC_QT5
52 54 /*!
53 \qmlclass AbstractBarSeries QAbstractBarSeries
54 \inherits QAbstractSeries
55 \qmltype AbstractBarSeries
56 \instantiates QAbstractBarSeries
57 \inqmlmodule QtCommercial.Chart
55 58
56 The following QML shows how to create a simple bar chart:
57 \snippet ../demos/qmlchart/qml/qmlchart/View6.qml 1
59 \include /doc/src/abstractbarseries.qdocinc
60 */
61 #else
62 /*!
63 \qmlclass AbstractBarSeries QAbstractBarSeries
58 64
59 \beginfloatleft
60 \image demos_qmlchart6.png
61 \endfloat
62 \clearfloat
65 \include ../doc/src/abstractbarseries.qdocinc
63 66 */
67 #endif
64 68
65 69 /*!
66 70 \qmlproperty AbstractAxis AbstractBarSeries::axisX
@@ -27,6 +27,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27 27
28 28 /*!
29 29 \class QBarSet
30 \inmodule Qt Charts
30 31 \brief Building block for different bar charts.
31 32
32 33 QBarSet represents one set of bars. Set of bars contains one data value for each category.
@@ -38,15 +39,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
38 39
39 40 \sa QAbstractBarSeries, QBarSeries, QStackedBarSeries, QPercentBarSeries
40 41 */
42 #ifdef QDOC_QT5
43 /*!
44 \qmltype BarSet
45 \instantiates QBarSet
46 \inqmlmodule QtCommercial.Chart
47
48 \include /doc/src/barset.qdocinc
49 */
50 #else
41 51 /*!
42 52 \qmlclass BarSet QBarSet
43 53
44 BarSet represents one set of bars. Set of bars contains one data value for each category.
45 First value of set is assumed to belong to first category, second to second category and so on.
46 If set has fewer values than there are categories, then the missing values are assumed to be
47 at the end of set. For missing values in middle of a set, numerical value of zero is used.
48 \sa AbstractBarSeries, BarSeries, StackedBarSeries, PercentBarSeries
54 \include ../doc/src/barset.qdocinc
49 55 */
56 #endif
50 57
51 58 /*!
52 59 \property QBarSet::label
@@ -81,7 +88,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
81 88 \qmlproperty Font BarSet::labelFont
82 89 Defines the font used by the bar set's label.
83 90
84 See the \l {Font} {QML Font Element} for detailed documentation.
91 See the Qt documentation for more details of Font.
85 92 */
86 93
87 94 /*!
@@ -24,6 +24,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
24 24
25 25 /*!
26 26 \class QHBarModelMapper
27 \inmodule Qt Charts
27 28 \brief Horizontal model mapper for bar series.
28 29 \mainclass
29 30
@@ -33,27 +34,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
33 34 Adding/removing value from the BarSet causes the the same change in the rest of the BarSets added to the same series.
34 35 \note Used model has to support adding/removing rows/columns and modifying the data of the cells.
35 36 */
37 #ifdef QDOC_QT5
38 /*!
39 \qmltype HBarModelMapper
40 \instantiates QHBarModelMapper
41 \inqmlmodule QtCommercial.Chart
42
43 \include /doc/src/hbarmodelmapper.qdocinc
44 */
45 #else
36 46 /*!
37 47 \qmlclass HBarModelMapper QHBarModelMapper
38 48
39 HBarModelMapper allows you to use your own QAbstractItemModel derived model with data in rows as a data source
40 for any bar series. It is possible to use both QAbstractItemModel and bar series data API to manipulate data.
41 HBarModelMapper keeps the series and the model in sync.
42
43 The following QML example would create a bar series with three bar sets (assuming the model has
44 at least four rows). Each bar set would contain data starting from column 1. The name of a set would be defined by
45 the vertical header (of the row).
46 \code
47 BarSeries {
48 HBarModelMapper {
49 model: myCustomModel // QAbstractItemModel derived implementation
50 firstBarSetRow: 1
51 lastBarSetRow: 3
52 firstColumn: 1
53 }
54 }
55 \endcode
49 \include ../doc/src/hbarmodelmapper.qdocinc
56 50 */
51 #endif
57 52
58 53 /*!
59 54 \property QHBarModelMapper::series
@@ -24,6 +24,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
24 24
25 25 /*!
26 26 \class QVBarModelMapper
27 \inmodule Qt Charts
27 28 \brief Vertical model mapper for bar series.
28 29 \mainclass
29 30
@@ -33,28 +34,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
33 34 Adding/removing value from the BarSet causes the the same change in the rest of the BarSets added to the same series.
34 35 \note Used model has to support adding/removing rows/columns and modifying the data of the cells.
35 36 */
37 #ifdef QDOC_QT5
36 38 /*!
37 \qmlclass VBarModelMapper
38 \mainclass
39 \qmltype VBarModelMapper
40 \instantiates QVBarModelMapper
41 \inqmlmodule QtCommercial.Chart
42
43 \include /doc/src/vbarmodelmapper.qdocinc
44 */
45 #else
46 /*!
47 \qmlclass VBarModelMapper QVBarModelMapper
39 48
40 VBarModelMapper allows you to use your own QAbstractItemModel derived model with data in columns as a data source
41 for any bar series. It is possible to use both QAbstractItemModel and bar series data API to manipulate data.
42 VBarModelMapper keeps the series and the model in sync.
43
44 The following QML example would create a bar series with three bar sets (assuming the
45 model has at least four columns). Each bar set would contain data starting from row 1. The name of a set would be
46 defined by the horizontal header (of the column).
47 \code
48 BarSeries {
49 VBarModelMapper {
50 model: myCustomModel // QAbstractItemModel derived implementation
51 firstBarSetColumn: 1
52 lastBarSetColumn: 3
53 firstRow: 1
54 }
55 }
56 \endcode
49 \include ../doc/src/vbarmodelmapper.qdocinc
57 50 */
51 #endif
58 52
59 53 /*!
60 54 \property QVBarModelMapper::series
@@ -30,6 +30,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
30 30
31 31 /*!
32 32 \class QBarSeries
33 \inmodule Qt Charts
33 34 \brief Series for creating bar chart.
34 35 \mainclass
35 36
@@ -42,17 +43,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
42 43
43 44 \sa QBarSet, QPercentBarSeries, QAbstractBarSeries, QStackedBarSeries
44 45 */
46 #ifdef QDOC_QT5
47 /*!
48 \qmltype BarSeries
49 \instantiates QBarSeries
50 \inqmlmodule QtCommercial.Chart
51
52 \include /doc/src/barseries.qdocinc
53 */
54 #else
45 55 /*!
46 56 \qmlclass BarSeries QBarSeries
47 \inherits AbstractBarSeries
48
49 The following QML shows how to create a simple grouped bar chart:
50 \snippet ../demos/qmlchart/qml/qmlchart/View6.qml 1
51 \beginfloatleft
52 \image demos_qmlchart6.png
53 \endfloat
54 \clearfloat
57
58 \include ../doc/src/barseries.qdocinc
55 59 */
60 #endif
56 61
57 62 /*!
58 63 Constructs empty QBarSeries.
@@ -29,6 +29,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
29 29
30 30 /*!
31 31 \class QPercentBarSeries
32 \inmodule Qt Charts
32 33 \brief Series for creating percent bar chart.
33 34 \mainclass
34 35
@@ -41,17 +42,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
41 42
42 43 \sa QBarSet, QStackedBarSeries, QAbstractBarSeries
43 44 */
45 #ifdef QDOC_QT5
46 /*!
47 \qmltype PercentBarSeries
48 \instantiates QPercentBarSeries
49 \inqmlmodule QtCommercial.Chart
50
51 \include /doc/src/persentbarseries.qdocinc
52 */
53 #else
44 54 /*!
45 55 \qmlclass PercentBarSeries QPercentBarSeries
46 \inherits QAbstractBarSeries
47
48 The following QML shows how to create a simple percent bar chart:
49 \snippet ../demos/qmlchart/qml/qmlchart/View8.qml 1
50 \beginfloatleft
51 \image demos_qmlchart8.png
52 \endfloat
53 \clearfloat
56
57 \include ../doc/src/persentbarseries.qdocinc
54 58 */
59 #endif
55 60
56 61 /*!
57 62 Constructs empty QPercentBarSeries.
@@ -29,6 +29,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
29 29
30 30 /*!
31 31 \class QStackedBarSeries
32 \inmodule Qt Charts
32 33 \brief Series for creating stacked bar chart.
33 34 \mainclass
34 35
@@ -42,17 +43,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
42 43 \sa QBarSet, QPercentBarSeries, QAbstractBarSeries
43 44 */
44 45
46 #ifdef QDOC_QT5
47 /*!
48 \qmltype StackedBarSeries
49 \instantiates QStackedBarSeries
50 \inqmlmodule QtCommercial.Chart
51
52 \include /doc/src/stackedbarseries.qdocinc
53 */
54 #else
45 55 /*!
46 56 \qmlclass StackedBarSeries QStackedBarSeries
47 \inherits AbstractBarSeries
48
49 The following QML shows how to create a simple stacked bar chart:
50 \snippet ../demos/qmlchart/qml/qmlchart/View7.qml 1
51 \beginfloatleft
52 \image demos_qmlchart7.png
53 \endfloat
54 \clearfloat
57
58 \include ../doc/src/stackedbarseries.qdocinc
55 59 */
60 #endif
56 61
57 62 /*!
58 63 Constructs empty QStackedBarSeries.
@@ -36,6 +36,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
36 36
37 37 /*!
38 38 \class QBoxPlotSeries
39 \inmodule Qt Charts
39 40 \brief Series for creating box-and-whiskers chart
40 41 \mainclass
41 42
@@ -26,6 +26,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
26 26
27 27 /*!
28 28 \class QBoxSet
29 \inmodule Qt Charts
29 30 \brief Building block for box-and-whiskers chart
30 31
31 32 QBoxSet represents one box-and-whiskers item. It takes five values to create a graphical representation
@@ -24,37 +24,30 QTCOMMERCIALCHART_BEGIN_NAMESPACE
24 24
25 25 /*!
26 26 \class QVBoxPlotModelMapper
27 \inmodule Qt Charts
27 28 \brief Vertical model mapper for bar series
28 29 \mainclass
29 30
30 31 Model mappers allow you to use QAbstractItemModel derived models as a data source for a chart series.
31 32 Vertical model mapper is used to create a connection between QBoxPlotSeries and QAbstractItemModel derived model object.
32 33 Model mapper maintains equal size of all the QBoxSets.
33 Note: used model has to support adding/removing rows/columns and modifying the data of the cells.
34 \note used model has to support adding/removing rows/columns and modifying the data of the cells.
34 35 */
36 #ifdef QDOC_QT5
35 37 /*!
36 \qmlclass VBoxPlotModelMapper
37 \mainclass
38 \qmltype VBoxPlotModelMapper
39 \instantiates QVBoxPlotModelMapper
40 \inqmlmodule QtCommercial.Chart
38 41
39 VBoxPlotModelMapper allows you to use your own QAbstractItemModel derived model with data in columns as a data source
40 for any box-and-whiskers series. It is possible to use both QAbstractItemModel and box-and-whiskers series data API to
41 manipulate data.
42 VBoxPlotModelMapper keeps the series and the model in sync.
42 \include /doc/src/vboxplotmodelmapper.qdocinc
43 */
44 #else
45 /*!
46 \qmlclass VBoxPlotModelMapper QVBoxPlotModelMapper
43 47
44 The following QML example would create a box-and-whiskers series with three box sets (assuming the
45 model has at least four columns). Each box set would contain data starting from row 1. The name of a set would be
46 defined by the horizontal header (of the column).
47 \code
48 BarSeries {
49 VBarModelMapper {
50 model: myCustomModel // QAbstractItemModel derived implementation
51 firstBoxSetColumn: 1
52 lastBoxSetColumn: 3
53 firstRow: 1
54 }
55 }
56 \endcode
48 \include ../doc/src/vboxplotmodelmapper.qdocinc
57 49 */
50 #endif
58 51
59 52 /*!
60 53 \property QVBoxPlotModelMapper::series
@@ -64,7 +57,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
64 57 When new series is specified the old series is disconnected (it preserves its data)
65 58 */
66 59 /*!
67 \qmlproperty AbstractBarSeries VBarModelMapper::series
60 \qmlproperty AbstractBarSeries VBoxPlotModelMapper::series
68 61 Defines the AbstractBarSeries based object that is used by the mapper. All the data in the series is discarded when it is
69 62 set to the mapper. When new series is specified the old series is disconnected (it preserves its data).
70 63 */
@@ -74,9 +67,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
74 67 \brief Defines the model that is used by the mapper.
75 68 */
76 69 /*!
77 \qmlproperty SomeModel VBarModelMapper::model
70 \qmlproperty SomeModel VBoxPlotModelMapper::model
78 71 The QAbstractItemModel based model that is used by the mapper. You need to implement the model
79 and expose it to QML. Note: the model has to support adding/removing rows/columns and modifying
72 and expose it to QML. \note the model has to support adding/removing rows/columns and modifying
80 73 the data of the cells.
81 74 */
82 75
@@ -27,12 +27,13 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27 27
28 28 /*!
29 29 \class QAreaLegendMarker
30 \inmodule Qt Charts
30 31 \brief QAreaLegendMarker object.
31 32 \mainclass
32 33
33 34 QAreaLegendMarker is related to QAreaSeries. One QAreaSeries results in one marker.
34 35
35 \sa QLegend QAreaSeries
36 \sa QLegend, QAreaSeries
36 37 */
37 38
38 39 /*!
@@ -27,12 +27,13 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27 27
28 28 /*!
29 29 \class QBarLegendMarker
30 \inmodule Qt Charts
30 31 \brief QBarLegendMarker object.
31 32 \mainclass
32 33
33 34 QBarLegendMarker is related to QAbstractBarSeries derived classes. With bar series, each marker is related to one QBarSet.
34 35
35 \sa QLegend QAbstractBarSeries QBarSet
36 \sa QLegend, QAbstractBarSeries, QBarSet
36 37 */
37 38
38 39 /*!
@@ -27,12 +27,13 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27 27
28 28 /*!
29 29 \class QBoxPlotLegendMarker
30 \inmodule Qt Charts
30 31 \brief QBoxPlotLegendMarker object
31 32 \mainclass
32 33
33 34 QBoxPlotLegendMarker is related to QBoxPlotSeries classes.
34 35
35 \sa QLegend QBoxPlotSeries
36 \sa QLegend, QBoxPlotSeries
36 37 */
37 38
38 39 /*!
@@ -38,6 +38,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
38 38
39 39 /*!
40 40 \class QLegend
41 \inmodule Qt Charts
41 42 \brief Legend object.
42 43 \mainclass
43 44
@@ -50,26 +51,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
50 51
51 52 \sa QChart
52 53 */
54 #ifdef QDOC_QT5
53 55 /*!
54 \qmlclass Legend QLegend
55 \brief Legend is part of Qt Chart QML API.
56
57 Legend is a graphical object, whics displays legend of the chart. Legend state is updated by ChartView, when
58 series have been changed. Legend is used via ChartView class. For example:
59 \code
60 ChartView {
61 legend.visible: true
62 legend.alignment: Qt.AlignBottom
63 // Add a few series...
64 }
65 \endcode
56 \qmltype Legend
57 \instantiates QLegend
58 \inqmlmodule QtCommercial.Chart
66 59
67 \image examples_percentbarchart_legend.png
60 \include /doc/src/legend.qdocinc
61 */
62 #else
63 /*!
64 \qmlclass Legend QLegend
68 65
69 Please note that there is no QML API available for modifying legend markers, unlike in the Qt API of Charts.
70 The use case of modifying markers can be implemented for example by creating your own custom legend. For an example
71 on how to do this, see \l {demos/qmlcustomlegend}{Qml Custom Demo} application.
66 \include ../doc/src/legend.qdocinc
72 67 */
68 #endif
73 69
74 70 /*!
75 71 \property QLegend::alignment
@@ -32,6 +32,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
32 32
33 33 /*!
34 34 \class QLegendMarker
35 \inmodule Qt Charts
35 36 \brief LegendMarker object.
36 37 \mainclass
37 38
@@ -27,12 +27,13 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27 27
28 28 /*!
29 29 \class QPieLegendMarker
30 \inmodule Qt Charts
30 31 \brief LegendMarker object.
31 32 \mainclass
32 33
33 34 QPieLegendMarker is related to QPieSeries. With QPieSeries, each slice of pie is related to one marker in QLegend.
34 35
35 \sa QLegend QPieSeries QPieSlice
36 \sa QLegend, QPieSeries, QPieSlice
36 37 */
37 38
38 39 /*!
@@ -27,12 +27,13 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27 27
28 28 /*!
29 29 \class QXYLegendMarker
30 \inmodule Qt Charts
30 31 \brief QXYLegendMarker object.
31 32 \mainclass
32 33
33 34 QXYLegendMarker is related to QXYSeries derived classes. Each marker is related to one series.
34 35
35 \sa QLegend QXYSeries QSplineSeries QScatterSeries QLineSeries
36 \sa QLegend, QXYSeries, QSplineSeries, QScatterSeries, QLineSeries
36 37 */
37 38
38 39 /*!
@@ -28,6 +28,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
28 28
29 29 /*!
30 30 \class QLineSeries
31 \inmodule Qt Charts
31 32 \brief The QLineSeries class is used for making line charts.
32 33
33 34 \mainclass
@@ -46,17 +47,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
46 47 chart->addSeries(series);
47 48 \endcode
48 49 */
50 #ifdef QDOC_QT5
51 /*!
52 \qmltype LineSeries
53 \instantiates QLineSeries
54 \inqmlmodule QtCommercial.Chart
55
56 \include /doc/src/lineseries.qdocinc
57 */
58 #else
49 59 /*!
50 60 \qmlclass LineSeries QLineSeries
51 \inherits XYSeries
52
53 The following QML shows how to create a simple line chart:
54 \snippet ../demos/qmlchart/qml/qmlchart/View2.qml 1
55 \beginfloatleft
56 \image demos_qmlchart2.png
57 \endfloat
58 \clearfloat
61
62 \include ../doc/src/lineseries.qdocinc
59 63 */
64 #endif
60 65
61 66 /*!
62 67 \fn virtual SeriesType QLineSeries::type() const
@@ -24,6 +24,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
24 24
25 25 /*!
26 26 \class QHPieModelMapper
27 \inmodule Qt Charts
27 28 \mainclass
28 29
29 30 Model mappers allow you to use QAbstractItemModel derived models as a data source for a chart series.
@@ -31,26 +32,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
31 32 It is possible to use both QAbstractItemModel and QPieSeries model API. QHPieModelMapper makes sure that Pie and the model are kept in sync.
32 33 \note Used model has to support adding/removing rows/columns and modifying the data of the cells.
33 34 */
35 #ifdef QDOC_QT5
36 /*!
37 \qmltype HPieModelMapper
38 \instantiates QHPieModelMapper
39 \inqmlmodule QtCommercial.Chart
40
41 \include /doc/src/hpiemodelmapper.qdocinc
42 */
43 #else
34 44 /*!
35 45 \qmlclass HPieModelMapper QHPieModelMapper
36 46
37 HPieModelMapper allows you to use your own QAbstractItemModel derived model with data in rows as a data source
38 for a pie series. It is possible to use both QAbstractItemModel and PieSeries data API to manipulate data.
39 HPieModelMapper keeps the Pie and the model in sync.
40
41 The following QML example would create a pie series with four slices (assuming the model has
42 at least five columns). Each slice would contain a label from row 1 and a value from row 2.
43 \code
44 HPieModelMapper {
45 series: pieSeries
46 model: customModel
47 labelsRow: 1
48 valuesRow: 2
49 firstColumn: 1
50 columnCount: 4
51 }
52 \endcode
47 \include ../doc/src/hpiemodelmapper.qdocinc
53 48 */
49 #endif
54 50
55 51 /*!
56 52 \property QHPieModelMapper::series
@@ -35,6 +35,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
35 35
36 36 /*!
37 37 \class QPieSeries
38 \inmodule Qt Charts
38 39 \brief Pie series API for Qt Charts.
39 40
40 41 The pie series defines a pie chart which consists of pie slices which are defined as QPieSlice objects.
@@ -51,23 +52,25 QTCOMMERCIALCHART_BEGIN_NAMESPACE
51 52 See the \l {PieChart Example} {pie chart example} or \l {DonutChart Example} {donut chart example} to learn how to use QPieSeries.
52 53 \table 100%
53 54 \row
54 \o \image examples_piechart.png
55 \o \image examples_donutchart.png
55 \li \image examples_piechart.png
56 \li \image examples_donutchart.png
56 57 \endtable
57 58 */
59 #ifdef QDOC_QT5
58 60 /*!
59 \qmlclass PieSeries QPieSeries
60 \inherits AbstractSeries
61
62 The following QML shows how to create a simple pie chart.
61 \qmltype PieSeries
62 \instantiates QPieSeries
63 \inqmlmodule QtCommercial.Chart
63 64
64 \snippet ../demos/qmlchart/qml/qmlchart/View1.qml 1
65 \include /doc/src/pieseries.qdocinc
66 */
67 #else
68 /*!
69 \qmlclass PieSeries QPieSeries
65 70
66 \beginfloatleft
67 \image demos_qmlchart1.png
68 \endfloat
69 \clearfloat
71 \include ../doc/src/pieseries.qdocinc
70 72 */
73 #endif
71 74
72 75 /*!
73 76 \property QPieSeries::horizontalPosition
@@ -76,8 +79,8 QTCOMMERCIALCHART_BEGIN_NAMESPACE
76 79 The value is a relative value to the chart rectangle where:
77 80
78 81 \list
79 \o 0.0 is the absolute left.
80 \o 1.0 is the absolute right.
82 \li 0.0 is the absolute left.
83 \li 1.0 is the absolute right.
81 84 \endlist
82 85 Default value is 0.5 (center).
83 86 \sa verticalPosition
@@ -91,8 +94,8 QTCOMMERCIALCHART_BEGIN_NAMESPACE
91 94 The value is a relative value to the chart rectangle where:
92 95
93 96 \list
94 \o 0.0 is the absolute left.
95 \o 1.0 is the absolute right.
97 \li 0.0 is the absolute left.
98 \li 1.0 is the absolute right.
96 99 \endlist
97 100 Default value is 0.5 (center).
98 101 \sa verticalPosition
@@ -105,8 +108,8 QTCOMMERCIALCHART_BEGIN_NAMESPACE
105 108 The value is a relative value to the chart rectangle where:
106 109
107 110 \list
108 \o 0.0 is the absolute top.
109 \o 1.0 is the absolute bottom.
111 \li 0.0 is the absolute top.
112 \li 1.0 is the absolute bottom.
110 113 \endlist
111 114 Default value is 0.5 (center).
112 115 \sa horizontalPosition
@@ -120,8 +123,8 QTCOMMERCIALCHART_BEGIN_NAMESPACE
120 123 The value is a relative value to the chart rectangle where:
121 124
122 125 \list
123 \o 0.0 is the absolute top.
124 \o 1.0 is the absolute bottom.
126 \li 0.0 is the absolute top.
127 \li 1.0 is the absolute bottom.
125 128 \endlist
126 129 Default value is 0.5 (center).
127 130 \sa horizontalPosition
@@ -134,8 +137,8 QTCOMMERCIALCHART_BEGIN_NAMESPACE
134 137 The value is a relative value to the chart rectangle where:
135 138
136 139 \list
137 \o 0.0 is the minimum size (pie not drawn).
138 \o 1.0 is the maximum size that can fit the chart.
140 \li 0.0 is the minimum size (pie not drawn).
141 \li 1.0 is the maximum size that can fit the chart.
139 142 \endlist
140 143
141 144 When setting this property the holeSize property is adjusted if necessary, to ensure that the hole size is not greater than the outer size.
@@ -151,8 +154,8 QTCOMMERCIALCHART_BEGIN_NAMESPACE
151 154 The value is a relative value to the chart rectangle where:
152 155
153 156 \list
154 \o 0.0 is the minimum size (pie not drawn).
155 \o 1.0 is the maximum size that can fit the chart.
157 \li 0.0 is the minimum size (pie not drawn).
158 \li 1.0 is the maximum size that can fit the chart.
156 159 \endlist
157 160
158 161 Default value is 0.7.
@@ -165,8 +168,8 QTCOMMERCIALCHART_BEGIN_NAMESPACE
165 168 The value is a relative value to the chart rectangle where:
166 169
167 170 \list
168 \o 0.0 is the minimum size (full pie drawn, without any hole inside).
169 \o 1.0 is the maximum size that can fit the chart. (donut has no width)
171 \li 0.0 is the minimum size (full pie drawn, without any hole inside).
172 \li 1.0 is the maximum size that can fit the chart. (donut has no width)
170 173 \endlist
171 174
172 175 The value is never greater then size property.
@@ -181,8 +184,8 QTCOMMERCIALCHART_BEGIN_NAMESPACE
181 184 The value is a relative value to the chart rectangle where:
182 185
183 186 \list
184 \o 0.0 is the minimum size (full pie drawn, without any hole inside).
185 \o 1.0 is the maximum size that can fit the chart. (donut has no width)
187 \li 0.0 is the minimum size (full pie drawn, without any hole inside).
188 \li 1.0 is the maximum size that can fit the chart. (donut has no width)
186 189 \endlist
187 190
188 191 When setting this property the size property is adjusted if necessary, to ensure that the inner size is not greater than the outer size.
@@ -25,6 +25,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
25 25
26 26 /*!
27 27 \class QPieSlice
28 \inmodule Qt Charts
28 29 \brief Defines a slice in pie series.
29 30
30 31 This object defines the properties of a single slice in a QPieSeries.
@@ -38,21 +39,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
38 39 To enable user interaction with the pie some basic signals are provided about clicking and hovering.
39 40 */
40 41
42 #ifdef QDOC_QT5
41 43 /*!
42 \qmlclass PieSlice QPieSlice
43 PieSlice defines the properties of a single slice in a PieSeries. The element should be used
44 as a child for a PieSeries. For example:
45 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 2
44 \qmltype PieSlice
45 \instantiates QPieSlice
46 \inqmlmodule QtCommercial.Chart
46 47
47 An alternative (dynamic) method for adding slices to a PieSeries is using PieSeries.append
48 method.
49 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 4
48 \include /doc/src/pieslice.qdocinc
49 */
50 #else
51 /*!
52 \qmlclass PieSlice QPieSlice
50 53
51 In that case you may want to use PieSeries.at or PieSeries.find to access the properties of
52 an individual PieSlice instance.
53 \snippet ../examples/qmlpiechart/qml/qmlpiechart/main.qml 5
54 \sa PieSeries
54 \include ../doc/src/pieslice.qdocinc
55 55 */
56 #endif
56 57
57 58 /*!
58 59 \enum QPieSlice::LabelPosition
@@ -281,7 +282,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
281 282
282 283 Defines the font used for slice label.
283 284
284 See the \l {Font} {QML Font Element} for detailed documentation.
285 See the Qt documentation for more details of Font.
285 286
286 287 \sa labelVisible, labelPosition
287 288 */
@@ -24,6 +24,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
24 24
25 25 /*!
26 26 \class QVPieModelMapper
27 \inmodule Qt Charts
27 28 \mainclass
28 29
29 30 Model mappers allow you to use QAbstractItemModel derived models as a data source for a chart series.
@@ -31,26 +32,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
31 32 It is possible to use both QAbstractItemModel and QPieSeries model API. QVPieModelMapper makes sure that Pie and the model are kept in sync.
32 33 \note Used model has to support adding/removing rows/columns and modifying the data of the cells.
33 34 */
35 #ifdef QDOC_QT5
36 /*!
37 \qmltype VPieModelMapper
38 \instantiates QVPieModelMapper
39 \inqmlmodule QtCommercial.Chart
40
41 \include /doc/src/vpiemodelmapper.qdocinc
42 */
43 #else
34 44 /*!
35 45 \qmlclass VPieModelMapper QVPieModelMapper
36 46
37 VPieModelMapper allows you to use your own QAbstractItemModel derived model with data in columns as a data source
38 for a pie series. It is possible to use both QAbstractItemModel and PieSeries data API to manipulate data.
39 VPieModelMapper keeps the Pie and the model in sync.
40
41 The following QML example would create a pie series with four slices (assuming the model has at least five rows).
42 Each slice would contain a label from column 1 and a value from column 2.
43 \code
44 VPieModelMapper {
45 series: pieSeries
46 model: customModel
47 labelsColumn: 1
48 valuesColumn: 2
49 firstRow: 1
50 rowCount: 4
51 }
52 \endcode
47 \include ../doc/src/vpiemodelmapper.qdocinc
53 48 */
49 #endif
54 50
55 51 /*!
56 52 \property QVPieModelMapper::series
@@ -33,6 +33,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
33 33
34 34 /*!
35 35 \class QAbstractSeries
36 \inmodule Qt Charts
36 37 \brief Base class for all Qt Chart series.
37 38 \mainclass
38 39
@@ -40,11 +41,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
40 41 \sa QXYSeries, QLineSeries, QSplineSeries, QScatterSeries, QAreaSeries, QAbstractBarSeries, QStackedBarSeries,
41 42 QPercentBarSeries, QPieSeries
42 43 */
44 #ifdef QDOC_QT5
43 45 /*!
44 \qmlclass AbstractSeries
45 AbstractSeries is the base class for all series.
46 The class cannot be instantiated by the user.
46 \qmltype AbstractSeries
47 \instantiates QAbstractSeries
48 \inqmlmodule QtCommercial.Chart
49
50 \include /doc/src/abstractseries.qdocinc
51 */
52 #else
53 /*!
54 \qmlclass AbstractSeries QAbstractSeries
55
56 \include ../doc/src/abstractseries.qdocinc
47 57 */
58 #endif
48 59
49 60 /*!
50 61 \enum QAbstractSeries::SeriesType
@@ -71,6 +71,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
71 71
72 72 /*!
73 73 \class QChart
74 \inmodule Qt Charts
74 75 \brief Main chart API for Qt Charts.
75 76
76 77 QChart is a QGraphicsWidget that you can show in a QGraphicsScene. It manages the graphical
@@ -436,21 +437,21 QList<QAbstractAxis *> QChart::axes(Qt::Orientations orientation, QAbstractSerie
436 437
437 438 \table
438 439 \header
439 \o Series type
440 \o X-axis
441 \o Y-axis
440 \li Series type
441 \li X-axis
442 \li Y-axis
442 443 \row
443 \o QXYSeries
444 \o QValueAxis
445 \o QValueAxis
444 \li QXYSeries
445 \li QValueAxis
446 \li QValueAxis
446 447 \row
447 \o QBarSeries
448 \o QBarCategoryAxis
449 \o QValueAxis
448 \li QBarSeries
449 \li QBarCategoryAxis
450 \li QValueAxis
450 451 \row
451 \o QPieSeries
452 \o None
453 \o None
452 \li QPieSeries
453 \li None
454 \li None
454 455 \endtable
455 456
456 457 If there are several QXYSeries derived series added to the chart and no series of other types have been added, then only one pair of axes is created.
@@ -37,6 +37,7
37 37
38 38 /*!
39 39 \class QChartView
40 \inmodule Qt Charts
40 41 \brief Standalone charting widget.
41 42
42 43 QChartView is a standalone widget that can display charts. It does not require separate
@@ -34,6 +34,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
34 34
35 35 /*!
36 36 \class QPolarChart
37 \inmodule Qt Charts
37 38 \brief Polar chart API for Qt Charts.
38 39
39 40 QPolarChart is a specialization of QChart to show a polar chart.
@@ -28,6 +28,7
28 28
29 29 /*!
30 30 \class QScatterSeries
31 \inmodule Qt Charts
31 32 \brief The QScatterSeries class is used for making scatter charts.
32 33
33 34 \mainclass
@@ -46,18 +47,21
46 47 chart->addSeries(series);
47 48 \endcode
48 49 */
50 #ifdef QDOC_QT5
49 51 /*!
50 \qmlclass ScatterSeries QScatterSeries
51 \inherits XYSeries
52 \qmltype ScatterSeries
53 \instantiates QScatterSeries
54 \inqmlmodule QtCommercial.Chart
52 55
53 The following QML shows how to create a chart with two simple scatter series:
54 \snippet ../demos/qmlchart/qml/qmlchart/View5.qml 1
56 \include /doc/src/scatterseries.qdocinc
57 */
58 #else
59 /*!
60 \qmlclass ScatterSeries QScatterSeries
55 61
56 \beginfloatleft
57 \image demos_qmlchart5.png
58 \endfloat
59 \clearfloat
62 \include ../doc/src/scatterseries.qdocinc
60 63 */
64 #endif
61 65
62 66 /*!
63 67 \enum QScatterSeries::MarkerShape
@@ -28,6 +28,7
28 28
29 29 /*!
30 30 \class QSplineSeries
31 \inmodule Qt Charts
31 32 \brief Series type used to store data needed to draw a spline.
32 33
33 34 QSplineSeries stores the data points along with the segment control points needed by QPainterPath to draw spline
@@ -44,18 +45,21
44 45 chart->addSeries(series);
45 46 \endcode
46 47 */
48 #ifdef QDOC_QT5
49 /*!
50 \qmltype SplineSeries
51 \instantiates QSplineSeries
52 \inqmlmodule QtCommercial.Chart
47 53
54 \include /doc/src/splineseries.qdocinc
55 */
56 #else
48 57 /*!
49 58 \qmlclass SplineSeries QSplineSeries
50 \inherits XYSeries
51
52 The following QML shows how to create a simple spline chart:
53 \snippet ../demos/qmlchart/qml/qmlchart/View3.qml 1
54 \beginfloatleft
55 \image demos_qmlchart3.png
56 \endfloat
57 \clearfloat
59
60 \include ../doc/src/splineseries.qdocinc
58 61 */
62 #endif
59 63
60 64 /*!
61 65 \fn QSeriesType QSplineSeries::type() const
@@ -24,6 +24,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
24 24
25 25 /*!
26 26 \class QHXYModelMapper
27 \inmodule Qt Charts
27 28 \mainclass
28 29
29 30 Model mappers allow you to use QAbstractItemModel derived models as a data source for a chart series.
@@ -31,13 +32,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
31 32 It is possible to use both QAbstractItemModel and QXYSeries model API. QXYModelMapper makes sure that QXYSeries and the model are kept in sync.
32 33 Note: used model has to support adding/removing rows/columns and modifying the data of the cells.
33 34 */
35 #ifdef QDOC_QT5
36 /*!
37 \qmltype HXYModelMapper
38 \instantiates QHXYModelMapper
39 \inqmlmodule QtCommercial.Chart
40
41 \include /doc/src/hxymodelmapper.qdocinc
42 */
43 #else
34 44 /*!
35 45 \qmlclass HXYModelMapper QHXYModelMapper
36 46
37 HXYModelMapper allows you to use your own QAbstractItemModel derived model with data in rows as a data source
38 for XYSeries based series. It is possible to use both QAbstractItemModel and XYSeries data API to manipulate data.
39 HXYModelMapper keeps the series and the model in sync.
47 \include ../doc/src/hxymodelmapper.qdocinc
40 48 */
49 #endif
41 50
42 51 /*!
43 52 \property QHXYModelMapper::series
@@ -24,6 +24,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
24 24
25 25 /*!
26 26 \class QVXYModelMapper
27 \inmodule Qt Charts
27 28 \mainclass
28 29
29 30 Model mappers allow you to use QAbstractItemModel derived models as a data source for a chart series.
@@ -31,13 +32,21 QTCOMMERCIALCHART_BEGIN_NAMESPACE
31 32 It is possible to use both QAbstractItemModel and QXYSeries model API. QXYModelMapper makes sure that QXYSeries and the model are kept in sync.
32 33 Note: used model has to support adding/removing rows/columns and modifying the data of the cells.
33 34 */
35 #ifdef QDOC_QT5
34 36 /*!
35 \qmlclass VXYModelMapper QHXYModelMapper
37 \qmltype VXYModelMapper
38 \instantiates QVXYModelMapper
39 \inqmlmodule QtCommercial.Chart
36 40
37 VXYModelMapper allows you to use your own QAbstractItemModel derived model with data in columns as a data source
38 for XYSeries based series. It is possible to use both QAbstractItemModel and XYSeries data API to manipulate data.
39 VYModelMapper keeps the series and the model in sync.
41 \include /doc/src/vxymodelmapper.qdocinc
40 42 */
43 #else
44 /*!
45 \qmlclass VXYModelMapper QVXYModelMapper
46
47 \include ../doc/src/vxymodelmapper.qdocinc
48 */
49 #endif
41 50
42 51 /*!
43 52 \property QVXYModelMapper::series
@@ -31,15 +31,24 QTCOMMERCIALCHART_BEGIN_NAMESPACE
31 31
32 32 /*!
33 33 \class QXYSeries
34 \inmodule Qt Charts
34 35 \brief The QXYSeries class is a base class for line, spline and scatter series.
35 36 */
37 #ifdef QDOC_QT5
36 38 /*!
37 \qmlclass XYSeries
38 \inherits AbstractSeries
39 The XYSeries class is a base class for line, spline and scatter series.
39 \qmltype XYSeries
40 \instantiates QXYSeries
41 \inqmlmodule QtCommercial.Chart
40 42
41 The class cannot be instantiated directly.
43 \include /doc/src/xyseries.qdocinc
42 44 */
45 #else
46 /*!
47 \qmlclass XYSeries QXYSeries
48
49 \include ../doc/src/xyseries.qdocinc
50 */
51 #endif
43 52
44 53 /*!
45 54 \qmlproperty AbstractAxis XYSeries::axisX
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now