##// END OF EJS Templates
Doc updates
Jani Honkonen -
r1909:bb12647edbe2
parent child
Show More
1 NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
@@ -1,31 +1,31
1 1 /*!
2 2 \page demos.html
3 3 \title Demos
4 4 \keyword Demos
5 5
6 6 \raw HTML
7 7 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
8 8 <tr>
9 9 <th class="titleheader" width="33%">
10 10 List of demos
11 11 </th>
12 12 </tr>
13 13 <tr>
14 14 <td valign="top">
15 15 <ul>
16 16 <li><a href="demos-chartthemes.html">Chart themes</a></li>
17 <li><a href="demos-piechartcustomization.html">Pie chart customization</a></li>
18 17 <li><a href="demos-dynamicspline.html">Dynamic spline chart</a></li>
19 18 <li><a href="demos-nesteddonuts.html">Nested donuts chart</a></li>
19 <li><a href="demos-piechartcustomization.html">Pie chart customization</a></li>
20 20 <li><a href="demos-qmlchart.html">Qml Basic Charts</a></li>
21 21 <li><a href="demos-qmlcustomizations.html">Qml Customizations</a></li>
22 <li><a href="demos-qmlweather.html">Qml Weather</a></li>
23 <li><a href="demos-qmlf1legends.html">Qml F1 Legends</a></li>
24 22 <li><a href="demos-qmlcustommodel.html">Qml Custom Model</a></li>
23 <li><a href="demos-qmlf1legends.html">Qml F1 Legends</a></li>
25 24 <li><a href="demos-qmloscilloscope.html">Qml Oscilloscope</a></li>
25 <li><a href="demos-qmlweather.html">Qml Weather</a></li>
26 26 </ul>
27 27 </td>
28 28 </tr>
29 29 </table>
30 30 \endraw
31 31 */
@@ -1,35 +1,36
1 1 /*!
2 2 \example examples/donutbreakdown
3 3 \title Donut chart breakdown example
4 4 \subtitle
5 5
6 6 This example shows how to use create a donut breakdown chart using QPieSeries API.
7 \image examples_donutbreakdown.png
7 8
8 9 Let's start by defining some data for the chart.
9 10
10 11 \snippet ../examples/donutbreakdown/main.cpp 1
11 12
12 13 Then we create a chart where we add the data. Note that this this is our own chart derived from QChart.
13 14
14 15 \snippet ../examples/donutbreakdown/main.cpp 2
15 16
16 17 Our own chart works so that in the constructor we create a main series
17 18 which aggregates the data provided by the breakdown series. This is the piechart in the center.
18 19
19 20 \snippet ../examples/donutbreakdown/donutbreakdownchart.cpp 1
20 21
21 22 When a breakdown series is added the data is used to create a slice in the main series and the
22 23 breakdown series itself is used to create a segment of a donut positioned so that it is aligned
23 24 with the corresponding slice in the main series.
24 25
25 26 \snippet ../examples/donutbreakdown/donutbreakdownchart.cpp 2
26 27
27 28 Here's how the start and end angles for the donut segments are calculated.
28 29
29 30 \snippet ../examples/donutbreakdown/donutbreakdownchart.cpp 3
30 31
31 32 And now that we have our chart defined we can finally create a QChartView and show the chart.
32 33
33 34 \snippet ../examples/donutbreakdown/main.cpp 3
34 35
35 36 */
@@ -1,8 +1,8
1 1 /*!
2 2 \example examples/donutchart
3 3 \title Donutchart Example
4 4 \subtitle
5 5
6 6 The example shows how to create simple donut chart and do some customizations to a slice.
7 \image examples_donut.png
7 \image examples_donutchart.png
8 8 */
@@ -1,45 +1,45
1 1 /*!
2 2 \page examples.html
3 3 \title Examples
4 4 \keyword Examples
5 5
6 6 \raw HTML
7 7 <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable">
8 8 <tr>
9 9 <th class="titleheader" width="33%">
10 10 List of examples
11 11 </th>
12 12 </tr>
13 13 <tr>
14 14 <td valign="top">
15 15 <ul>
16 16 <li><a href="examples-areachart.html">Area chart</a></li>
17 17 <li><a href="examples-barchart.html">Bar chart</a></li>
18 <li><a href="examples-barmodelmapper.html">Bar chart from model</a></li>
18 19 <li><a href="examples-customchart.html">Custom chart</a></li>
20 <li><a href="examples-donutbreakdown.html">Donut breakdown chart</a></li>
21 <li><a href="examples-donutchart.html">Donut chart</a></li>
19 22 <li><a href="examples-horizontalbarchart.html">Horizontal bar chart</a></li>
20 <li><a href="examples-horizontalstackedbarchart.html">Horizontal stacked bar chart</a></li>
21 23 <li><a href="examples-horizontalpercentbarchart.html">Horizontal percent bar chart</a></li>
24 <li><a href="examples-horizontalstackedbarchart.html">Horizontal stacked bar chart</a></li>
22 25 <li><a href="examples-legend.html">Legend</a></li>
23 <li><a href="examples-linechart.html">Line chart</a></li>
24 26 <li><a href="examples-lineandbar.html">Line and barchart</a></li>
27 <li><a href="examples-linechart.html">Line chart</a></li>
25 28 <li><a href="examples-modeldata.html">Model data</a></li>
26 <li><a href="examples-barmodelmapper.html">Bar chart from model</a></li>
27 29 <li><a href="examples-percentbarchart.html">Percent bar chart</a></li>
28 30 <li><a href="examples-piechart.html">Pie chart</a></li>
29 <li><a href="examples-donutchart.html">Donut chart</a></li>
30 31 <li><a href="examples-piechartdrilldown.html">Pie chart drilldown</a></li>
31 <li><a href="examples-donutbreakdown.html">Donut breakdown chart</a></li>
32 32 <li><a href="examples-presenterchart.html">Presenter chart</a></li>
33 33 <li><a href="examples-scatterchart.html">Scatter chart</a></li>
34 34 <li><a href="examples-scatterinteractions.html">Scatter interactions</a></li>
35 35 <li><a href="examples-splinechart.html">Spline chart</a></li>
36 36 <li><a href="examples-stackedbarchart.html">Stacked bar chart</a></li>
37 37 <li><a href="examples-stackedbarchartdrilldown.html">Stacked bar chart drilldown</a></li>
38 38 <li><a href="examples-temperaturerecords.html">Temperature records</a></li>
39 39 <li><a href="examples-zoomlinechart.html">Zoom line</a></li>
40 40 </ul>
41 41 </td>
42 42 </tr>
43 43 </table>
44 44 \endraw
45 45 */
@@ -1,64 +1,57
1 1 /*!
2 2 \page gettingstarted.html
3 3 \title QtCommercial Charts getting started
4 4 \keyword Introduction
5 5
6 6 Compiling:
7 7 \code
8 8 qmake CONFIG+=release
9 9 make
10 10 make install
11 11 \endcode
12 12
13 13 Depending on the OS and the compiler you are using "make" might need to be replaced with another command like: nmake, mingw32-make, etc.
14 14
15 15 To uninstall the QtCommercialCharts run:
16 16 \code
17 17 make uninstall
18 18 \endcode
19 19
20 On Windows platforms both debug and release configurations are built by default at the same time.
21 To build both at the same time on other platforms invoke the following command:
22
23 \code
24 make all
25 \endcode
26
27 20 Compiling as a static library (lib only):
28 21 \code
29 22 qmake CONFIG+=staticlib
30 23 make
31 24 make install
32 25 \endcode
33 26
34 27 \bold {New project}
35 28
36 29 Create a new project in a usual way and then add to your project's *.pro file following line:
37 30
38 31 \code
39 32 CONFIG += qtcommercialchart
40 33 \endcode
41 34
42 35 \bold {Widget project}
43 36
44 37 To use the QCharts classes add QtCommercialChart namespace macro in your header file.
45 38 \code
46 39 #include<QWidget>
47 40 #include<QChartView>
48 41
49 42 QTCOMMERCIALCHART_USE_NAMESPACE
50 43
51 44 class ExampleWidget : public QWidget
52 45 \endcode
53 46
54 47 \bold {QML project}
55 48
56 49 Add an import line to your *.qml file:
57 50 \code
58 import QtCommercial.Chart 1.0
51 import QtCommercial.Chart 1.1
59 52 \endcode
60 53
61 54 \raw HTML
62 55 \endraw
63 56
64 57 */
1 NO CONTENT: file was removed, binary diff hidden
General Comments 0
You need to be logged in to leave comments. Login now