|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: file renamed from doc/images/custom_chart.png to doc/images/examples_customchart.png |
@@ -5,7 +5,7 | |||
|
5 | 5 | |
|
6 | 6 | Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGraphicsWidget using QChart class. However |
|
7 | 7 | there is also convenience class QChartView which is QWidget based. These lets quickly use QCharts as normal Qt widget. |
|
8 |
|
|
|
8 | The API supports following chart types: | |
|
9 | 9 | |
|
10 | 10 | \list |
|
11 | 11 | \o area |
@@ -28,7 +28,6 | |||
|
28 | 28 | chartView->addSeries(series); |
|
29 | 29 | \endcode |
|
30 | 30 | |
|
31 | \image class_diagram.png | |
|
32 | 31 | \raw HTML |
|
33 | 32 | <table cellpadding="2" cellspacing="1" border="0" width="100%" class="indextable"> |
|
34 | 33 | <tr> |
@@ -3,6 +3,8 | |||
|
3 | 3 | \title Chart themes demo |
|
4 | 4 | \subtitle |
|
5 | 5 | |
|
6 | \image demo_chartthemes_small.png | |
|
7 | ||
|
6 | 8 | This demo shows the look and feel of the different built in themes for all supported chart types. |
|
7 | 9 | The background palette of the application is also customized according to the selected theme, to make the result |
|
8 | 10 | look harmonious. |
@@ -5,7 +5,7 | |||
|
5 | 5 | |
|
6 | 6 | The example shows how to create simple area chart. |
|
7 | 7 | |
|
8 | \image areachart.png | |
|
8 | \image examples_areachart.png | |
|
9 | 9 | |
|
10 | 10 | To create area charts, we need two QLineSeries instances. They are going to define upper and lower boundary of the area. |
|
11 | 11 | |
@@ -27,4 +27,4 | |||
|
27 | 27 | |
|
28 | 28 | \snippet ../examples/areachart/main.cpp 5 |
|
29 | 29 | |
|
30 | */ No newline at end of file | |
|
30 | */ |
@@ -4,7 +4,7 | |||
|
4 | 4 | \subtitle |
|
5 | 5 | |
|
6 | 6 | This example shows how to customize the appearance of the different elements on a chart. |
|
7 |
\image custom |
|
|
7 | \image examples_customchart.png | |
|
8 | 8 | |
|
9 | 9 | We begin by creating a simple line series and a chart object. |
|
10 | 10 | \snippet ../examples/customchart/main.cpp 1 |
@@ -5,7 +5,7 | |||
|
5 | 5 | |
|
6 | 6 | The example shows how to create simple line chart. |
|
7 | 7 | |
|
8 | \image linechart.png | |
|
8 | \image examples_linechart.png | |
|
9 | 9 | |
|
10 | 10 | To create line chart, QLineSeries instance is needed. Let's create one. |
|
11 | 11 |
@@ -4,4 +4,5 | |||
|
4 | 4 | \subtitle |
|
5 | 5 | |
|
6 | 6 | The example shows how to create simple pie chart and do some customizations to a pie slice. |
|
7 | \image examples_piechart.png | |
|
7 | 8 | */ |
@@ -5,7 +5,7 | |||
|
5 | 5 | |
|
6 | 6 | The example shows how to create simple scatter chart. |
|
7 | 7 | |
|
8 | \image scatterchart.png | |
|
8 | \image examples_scatterchart.png | |
|
9 | 9 | |
|
10 | 10 | To create scatter charts, QScatterSeries instance is needed. Here we create scatter series instance and we set the type, color and width of outline for scatter points. |
|
11 | 11 | |
@@ -23,4 +23,4 | |||
|
23 | 23 | |
|
24 | 24 | \snippet ../examples/scatterchart/main.cpp 4 |
|
25 | 25 | |
|
26 | */ No newline at end of file | |
|
26 | */ |
@@ -1,11 +1,11 | |||
|
1 | 1 | /*! |
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
2 | \example examples/splinechart | |
|
3 | \title SplineChart Example | |
|
4 | \subtitle | |
|
5 | 5 | |
|
6 |
|
|
|
6 | The example shows how to create simple spline chart. | |
|
7 | 7 | |
|
8 |
\image splinechart |
|
|
8 | \image examples_splinechart.png | |
|
9 | 9 | |
|
10 | 10 | To create spline chart we need to put our data into QSplineSeries. QSplineSeries automatically calculates spline segment control points that are needed to properly draw the spline. |
|
11 | 11 |
@@ -17,7 +17,7 | |||
|
17 | 17 | <li><a href="examples-barchart.html">Bar chart</a></li> |
|
18 | 18 | <li><a href="examples-customchart.html">Custom chart</a></li> |
|
19 | 19 | <li><a href="examples-ekgchart.html">EKG chart</a></li> |
|
20 |
<li><a href="examples-linechart.html"> |
|
|
20 | <li><a href="examples-linechart.html">Line chart</a></li> | |
|
21 | 21 | <li><a href="examples-modeldata.html">Model data</a></li> |
|
22 | 22 | <li><a href="examples-percentbarchart.html">Percent bar chart</a></li> |
|
23 | 23 | <li><a href="examples-piechart.html">Pie chart</a></li> |
@@ -14,32 +14,31 | |||
|
14 | 14 | graphs by selecting one of the charts themes. |
|
15 | 15 | </p> |
|
16 | 16 | |
|
17 |
<table> |
|
|
18 | <td><a href="examples-linechart.html"><img src="images/linechart.png" alt="linechart" /></a></td> | |
|
19 |
<td><a href="examples- |
|
|
20 | </tr> | |
|
21 | <tr> | |
|
22 | <td><a href="examples-scatterchart.html"><img src="images/scatterchart.png" alt="scatterchart" /></a></td> | |
|
23 |
<td><a href="examples- |
|
|
24 | </tr> | |
|
25 | <tr> | |
|
26 | <td><a href="examples-stackedbarchart.html"><img src="images/stackedbarchart.png" alt="stackedbarchart" /></a></td> | |
|
27 |
<td><a href="examples- |
|
|
28 | </tr><tr> | |
|
29 | <td><img src="images/chartview_example_scatter.jpg " alt="scatterchart" /></td> | |
|
30 | <td><img src="images/chartview_example_theme.jpg " alt="themechart" /></td> | |
|
31 | </tr> | |
|
32 | <tr> | |
|
33 | <td><img src="images/chartview_example_bar.jpg " alt="barchart" /></td> | |
|
34 | <td><img src="images/chartview_example_pie.jpg " alt="piechart" /></td> | |
|
35 | </tr> | |
|
36 | <tr> | |
|
37 | <td><img src="images/chartview_example.jpg " alt="linechart" /></td> | |
|
38 | <td><a href="examples-presenterchart.html"><img src="images/presenterchart_example.png" alt="presenterchart" /></a></td> | |
|
39 | </tr> | |
|
40 |
</t |
|
|
41 |
|
|
|
17 | <table> | |
|
18 | <tr> | |
|
19 | <td><a href="examples-linechart.html"><img src="images/examples_linechart.png" alt="linechart" /></a></td> | |
|
20 | <td><a href="examples-areachart.html"><img src="images/examples_areachart.png" alt="areachart" /></a></td> | |
|
21 | </tr> | |
|
22 | <tr> | |
|
23 | <td><a href="examples-scatterchart.html"><img src="images/examples_scatterchart.png" alt="scatterchart" /></a></td> | |
|
24 | <td><a href="examples-barchart.html"><img src="images/examples_barchart.png" alt="barchart" /></a></td> | |
|
25 | </tr> | |
|
26 | <tr> | |
|
27 | <td><a href="examples-stackedbarchart.html"><img src="images/examples_stackedbarchart.png" alt="stackedbarchart" /></a></td> | |
|
28 | <td><a href="examples-percentbarchart.html"><img src="images/examples_percentbarchart.png" alt="percentbarcchart" /></a></td> | |
|
29 | </tr> | |
|
30 | <tr> | |
|
31 | <td><a href="examples-splinechart.html"><img src="images/examples_splinechart.png" alt="linechart" /></a></td> | |
|
32 | <td><a href="examples-piechart.html"><img src="images/examples_piechart.png" alt="piechart" /></a></td> | |
|
33 | </tr> | |
|
34 | <tr> | |
|
35 | <td><a href="examples-customchart.html"><img src="images/examples_customchart.png" alt="customerchart" /></a></td> | |
|
36 | <td><a href="examples-zoomlinechart.html"><img src="images/examples_zoomlinechart2.png" alt="zoomlinechart" /></a></td> | |
|
37 | </tr> | |
|
38 | <tr> | |
|
39 | <td><a href="demos-chartthemes.html"><img src="images/demo_chartthemes_small.png" alt="charttheme" /></a></td> | |
|
40 | </tr> | |
|
41 | </table> | |
|
42 | </div> | |
|
42 | 43 | \endraw |
|
43 | ||
|
44 | ||
|
45 | 44 | */ |
|
1 | NO CONTENT: file was removed, binary diff hidden |
|
1 | NO CONTENT: file was removed, binary diff hidden |
|
1 | NO CONTENT: file was removed, binary diff hidden |
|
1 | NO CONTENT: file was removed, binary diff hidden |
General Comments 0
You need to be logged in to leave comments.
Login now