@@ -5,19 +5,6 | |||
|
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 | The API supports following chart types: | |
|
9 | ||
|
10 | \list | |
|
11 | \o line | |
|
12 | \o area | |
|
13 | \o scatter | |
|
14 | \o spline | |
|
15 | \o pie | |
|
16 | \o grouped bar | |
|
17 | \o percent bar | |
|
18 | \o stacked bar | |
|
19 | \endlist | |
|
20 | ||
|
21 | 8 | |
|
22 | 9 | Each chart type is represented by QAbstractSeries derived class. To create given chart type users have to use instance of related series class and add it to QChart instance. |
|
23 | 10 | \code |
@@ -3,8 +3,6 | |||
|
3 | 3 | \title QtCommercial Charts getting started |
|
4 | 4 | \keyword Introduction |
|
5 | 5 | |
|
6 | You can obtain the QtCommercial Charts package from \l {http://www.digia.com/en/Qt/Log-in-Customer-Portal/} {Customer portal}. | |
|
7 | ||
|
8 | 6 | Compiling: |
|
9 | 7 | \code |
|
10 | 8 | qmake CONFIG+=release |
@@ -14,6 +12,11 | |||
|
14 | 12 | |
|
15 | 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. |
|
16 | 14 | |
|
15 | To uninstall the QtCommercialCharts run: | |
|
16 | \code | |
|
17 | make uninstall | |
|
18 | \endcode | |
|
19 | ||
|
17 | 20 | On Windows platforms both debug and release configurations are built by default at the same time. |
|
18 | 21 | To build both at the same time on other platforms invoke the following command: |
|
19 | 22 | |
@@ -36,18 +39,6 | |||
|
36 | 39 | CONFIG += qtcommercialchart |
|
37 | 40 | \endcode |
|
38 | 41 | |
|
39 | Or if you have not installed charts after building: | |
|
40 | ||
|
41 | \code | |
|
42 | CHARTSLIB = QtCommercialChart | |
|
43 | CONFIG(debug, debug|release) { | |
|
44 | mac: CHARTSLIB = $$join(CHARTSLIB,,,_debug) | |
|
45 | win32: CHARTSLIB = $$join(CHARTSLIB,,,d) | |
|
46 | } | |
|
47 | INCLUDEPATH += <path_to_charts_folder>/include | |
|
48 | LIBS += -L<path_to_charts_folder>/lib -l$$CHARTSLIB | |
|
49 | \endcode | |
|
50 | ||
|
51 | 42 | \bold {Widget project} |
|
52 | 43 | |
|
53 | 44 | To use the QCharts classes add QtCommercialChart namespace macro in your header file. |
@@ -9,7 +9,7 | |||
|
9 | 9 | <p> |
|
10 | 10 | QCharts is a part of Qt Commercial addons package. It provides a set of easy to use chart |
|
11 | 11 | components which are available for Qt Commercial customers. It uses Qt Graphics View |
|
12 |
|
|
|
12 | Framework, therefore charts can be easily integrated to modern user interfaces. QCharts can | |
|
13 | 13 | be used as QWidgets, QGraphicsWidget or QML elements. Users can easily create impressive |
|
14 | 14 | graphs by selecting one of the charts themes. |
|
15 | 15 | </p> |
General Comments 0
You need to be logged in to leave comments.
Login now