@@ -0,0 +1,7 | |||
|
1 | /*! | |
|
2 | \example examples/customchart | |
|
3 | \title Custom chart example | |
|
4 | \subtitle | |
|
5 | ||
|
6 | This example shows how to customize the appearance of the whole chart. | |
|
7 | */ |
@@ -0,0 +1,7 | |||
|
1 | /*! | |
|
2 | \example examples/ekgchart | |
|
3 | \title EKG chart Example | |
|
4 | \subtitle | |
|
5 | ||
|
6 | The example shows how to simulate a EKG chart. | |
|
7 | */ |
@@ -0,0 +1,7 | |||
|
1 | /*! | |
|
2 | \example examples/modeldata | |
|
3 | \title Model data example | |
|
4 | \subtitle | |
|
5 | ||
|
6 | This example shows how to use QAbstractItemModel derived model as the data for the series. | |
|
7 | */ |
@@ -0,0 +1,7 | |||
|
1 | /*! | |
|
2 | \example examples/scatterinteractions | |
|
3 | \title ScatterChart Example | |
|
4 | \subtitle | |
|
5 | ||
|
6 | The example shows how to create simple scatter chart and how to interact with the chart. | |
|
7 | */ |
@@ -0,0 +1,7 | |||
|
1 | /*! | |
|
2 | \example examples/stackedbarchartdrilldown | |
|
3 | \title Stacked bar chart drilldown example | |
|
4 | \subtitle | |
|
5 | ||
|
6 | The example shows how to create stacked bar chart with a drilldown effect. | |
|
7 | */ |
@@ -0,0 +1,7 | |||
|
1 | /*! | |
|
2 | \example examples/zoomlinechart | |
|
3 | \title Zoom line example | |
|
4 | \subtitle | |
|
5 | ||
|
6 | The example shows how to create your own custom zooming effect with QRubberBand. | |
|
7 | */ |
|
1 | NO CONTENT: file renamed from doc/src/example-splinechart.qdoc to doc/src/examples-splinechart.qdoc |
@@ -15,16 +15,20 | |||
|
15 | 15 | <ul> |
|
16 | 16 | <li><a href="examples-areachart.html">Area chart example</a></li> |
|
17 | 17 | <li><a href="examples-barchart.html">Bar chart example</a></li> |
|
18 |
<li><a href="examples- |
|
|
18 | <li><a href="examples-customchart.html">Custom chart example</a></li> | |
|
19 | <li><a href="examples-ekgchart.html">EKG chart example</a></li> | |
|
20 | <li><a href="examples-linechart.html">Bar chart example</a></li> | |
|
21 | <li><a href="examples-modeldata.html">Model data example</a></li> | |
|
19 | 22 | <li><a href="examples-percentbarchart.html">Percent bar chart example</a></li> |
|
20 | 23 | <li><a href="examples-piechart.html">Pie chart example</a></li> |
|
21 | 24 | <li><a href="examples-piechartdrilldown.html">Pie chart drilldown example</a></li> |
|
22 | 25 | <li><a href="examples-presenterchart.html">Presenter chart example</a></li> |
|
23 | 26 | <li><a href="examples-scatterchart.html">Scatter chart example</a></li> |
|
27 | <li><a href="examples-scatterinteractions.html">Scatter interactions example</a></li> | |
|
24 | 28 | <li><a href="examples-splinechart.html">Spline chart example</a></li> |
|
25 | 29 | <li><a href="examples-stackedbarchart.html">Stacked bar chart example</a></li> |
|
26 | 30 | <li><a href="examples-stackedbarchartdrilldown.html">Stacked bar chart drilldown example</a></li> |
|
27 |
<li><a href="examples- |
|
|
31 | <li><a href="examples-zoomlinechart.html">Zoom line example</a></li> | |
|
28 | 32 | </ul> |
|
29 | 33 | </td> |
|
30 | 34 | </tr> |
@@ -30,12 +30,16 QTCOMMERCIALCHART_USE_NAMESPACE | |||
|
30 | 30 | |
|
31 | 31 | int main(int argc, char *argv[]) |
|
32 | 32 | { |
|
33 | //! [1] | |
|
33 | 34 | QApplication a(argc, argv); |
|
34 | 35 | QMainWindow window; |
|
36 | //! [1] | |
|
35 | 37 | |
|
38 | //! [2] | |
|
36 | 39 | DrilldownChart* drilldownChart = new DrilldownChart(); |
|
37 | 40 | drilldownChart->setTheme(QChart::ChartThemeBlueIcy); |
|
38 | 41 | drilldownChart->setAnimationOptions(QChart::SeriesAnimations); |
|
42 | //! [2] | |
|
39 | 43 | |
|
40 | 44 | //! [3] |
|
41 | 45 | // Define categories |
|
1 | NO CONTENT: file was removed |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now