##// END OF EJS Templates
Few docs changes based on the findings list
Marek Rosa -
r1510:1d95213abff9
parent child
Show More
@@ -5,19 +5,6
5
5
6 Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGraphicsWidget using QChart class. However
6 Charts API is build on top of Qt Graphics View Framework. Charts can be displayed as QGraphicsWidget using QChart class. However
7 there is also convenience class QChartView which is QWidget based. These lets quickly use QCharts as normal Qt widget.
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 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.
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 \code
10 \code
@@ -3,8 +3,6
3 \title QtCommercial Charts getting started
3 \title QtCommercial Charts getting started
4 \keyword Introduction
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 Compiling:
6 Compiling:
9 \code
7 \code
10 qmake CONFIG+=release
8 qmake CONFIG+=release
@@ -14,6 +12,11
14
12
15 Depending on the OS and the compiler you are using "make" might need to be replaced with another command like: nmake, mingw32-make, etc.
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 On Windows platforms both debug and release configurations are built by default at the same time.
20 On Windows platforms both debug and release configurations are built by default at the same time.
18 To build both at the same time on other platforms invoke the following command:
21 To build both at the same time on other platforms invoke the following command:
19
22
@@ -36,18 +39,6
36 CONFIG += qtcommercialchart
39 CONFIG += qtcommercialchart
37 \endcode
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 \bold {Widget project}
42 \bold {Widget project}
52
43
53 To use the QCharts classes add QtCommercialChart namespace macro in your header file.
44 To use the QCharts classes add QtCommercialChart namespace macro in your header file.
@@ -9,7 +9,7
9 <p>
9 <p>
10 QCharts is a part of Qt Commercial addons package. It provides a set of easy to use chart
10 QCharts is a part of Qt Commercial addons package. It provides a set of easy to use chart
11 components which are available for Qt Commercial customers. It uses Qt Graphics View
11 components which are available for Qt Commercial customers. It uses Qt Graphics View
12 Framework, therefore charts can be easily integrated to modern 2D user interfaces. QCharts can
12 Framework, therefore charts can be easily integrated to modern user interfaces. QCharts can
13 be used as QWidgets, QGraphicsWidget or QML elements. Users can easily create impressive
13 be used as QWidgets, QGraphicsWidget or QML elements. Users can easily create impressive
14 graphs by selecting one of the charts themes.
14 graphs by selecting one of the charts themes.
15 </p>
15 </p>
General Comments 0
You need to be logged in to leave comments. Login now