|
1 | NO CONTENT: new file 100644, binary diff hidden |
@@ -0,0 +1,8 | |||
|
1 | /*! | |
|
2 | \example examples/donutchart | |
|
3 | \title Donutchart Example | |
|
4 | \subtitle | |
|
5 | ||
|
6 | The example shows how to create simple donut chart and do some customizations to a slice. | |
|
7 | \image examples_donut.png | |
|
8 | */ |
@@ -26,8 +26,9 | |||
|
26 | 26 | <li><a href="examples-barmodelmapper.html">Bar chart from model</a></li> |
|
27 | 27 | <li><a href="examples-percentbarchart.html">Percent bar chart</a></li> |
|
28 | 28 | <li><a href="examples-piechart.html">Pie chart</a></li> |
|
29 | <li><a href="examples-donutchart.html">Donut chart</a></li> | |
|
29 | 30 | <li><a href="examples-piechartdrilldown.html">Pie chart drilldown</a></li> |
|
30 |
<li><a href="examples-donut.html"> |
|
|
31 | <li><a href="examples-donut.html">Nested donuts chart</a></li> | |
|
31 | 32 | <li><a href="examples-donutbreakdown.html">Donut chart drilldown</a></li> |
|
32 | 33 | <li><a href="examples-presenterchart.html">Presenter chart</a></li> |
|
33 | 34 | <li><a href="examples-scatterchart.html">Scatter chart</a></li> |
@@ -52,6 +52,7 int main(int argc, char *argv[]) | |||
|
52 | 52 | QChart* chart = new QChart(); |
|
53 | 53 | chart->addSeries(series); |
|
54 | 54 | chart->setTitle("Simple donutchart example"); |
|
55 | chart->legend()->hide(); | |
|
55 | 56 | //![3] |
|
56 | 57 | |
|
57 | 58 | //![4] |
@@ -51,6 +51,7 int main(int argc, char *argv[]) | |||
|
51 | 51 | QChart* chart = new QChart(); |
|
52 | 52 | chart->addSeries(series); |
|
53 | 53 | chart->setTitle("Simple piechart example"); |
|
54 | chart->legend()->hide(); | |
|
54 | 55 | //![3] |
|
55 | 56 | |
|
56 | 57 | //![4] |
@@ -46,8 +46,12 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||
|
46 | 46 | This can be done by setting a starting angle and angle span to the series. |
|
47 | 47 | Full pie is 360 degrees where 0 is at 12 a'clock. |
|
48 | 48 | |
|
49 |
See the \l {PieChart Example} {pie chart example} |
|
|
50 | \image examples_piechart.png | |
|
49 | See the \l {PieChart Example} {pie chart example} or \l {DonutChart Example} {donut chart example} to learn how to use QPieSeries. | |
|
50 | \table 100% | |
|
51 | \row | |
|
52 | \o \image examples_piechart.png | |
|
53 | \o \image examples_donut.png | |
|
54 | \endtable | |
|
51 | 55 | */ |
|
52 | 56 | /*! |
|
53 | 57 | \qmlclass PieSeries QPieSeries |
General Comments 0
You need to be logged in to leave comments.
Login now