@@ -47,8 +47,10 int main(int argc, char *argv[]) | |||
|
47 | 47 | |
|
48 | 48 | //! [4] |
|
49 | 49 | // Enable some features |
|
50 | // series->setToolTipEnabled(); | |
|
51 | // series->enableFloatingValues(); | |
|
50 | 52 | series->setToolTipEnabled(); |
|
51 |
series-> |
|
|
53 | series->setFloatingValuesEnabled(); | |
|
52 | 54 | //! [4] |
|
53 | 55 | |
|
54 | 56 | //! [5] |
@@ -48,7 +48,7 int main(int argc, char *argv[]) | |||
|
48 | 48 | //! [4] |
|
49 | 49 | // Enable features |
|
50 | 50 | series->setToolTipEnabled(); |
|
51 |
series-> |
|
|
51 | series->setFloatingValuesEnabled(); | |
|
52 | 52 | //! [4] |
|
53 | 53 | |
|
54 | 54 | //! [5] |
@@ -47,7 +47,7 int main(int argc, char *argv[]) | |||
|
47 | 47 | //! [4] |
|
48 | 48 | // Enable features |
|
49 | 49 | series->setToolTipEnabled(); |
|
50 |
series-> |
|
|
50 | series->setFloatingValuesEnabled(); | |
|
51 | 51 | //! [4] |
|
52 | 52 | |
|
53 | 53 | //! [5] |
@@ -12,21 +12,6 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||
|
12 | 12 | |
|
13 | 13 | \mainclass |
|
14 | 14 | |
|
15 | Example on how to create category: | |
|
16 | \snippet ../example/barchart/main.cpp 1 | |
|
17 | ||
|
18 | Example on how to create sets of data: | |
|
19 | \snippet ../example/barchart/main.cpp 2 | |
|
20 | ||
|
21 | Example on how to add sets to bar chart: | |
|
22 | \snippet ../example/barchart/main.cpp 3 | |
|
23 | ||
|
24 | Example on how to enable tooltip and floating values: | |
|
25 | \snippet ../example/barchart/main.cpp 4 | |
|
26 | ||
|
27 | Example on how to create view and apply theme: | |
|
28 | \snippet ../example/barchart/main.cpp 5 | |
|
29 | ||
|
30 | 15 | \sa QBarCategory, QBarSet, QStackedBarSeries, QBarSeries |
|
31 | 16 | */ |
|
32 | 17 |
@@ -12,21 +12,6 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||
|
12 | 12 | |
|
13 | 13 | \mainclass |
|
14 | 14 | |
|
15 | Example on how to create category: | |
|
16 | \snippet ../example/barchart/main.cpp 1 | |
|
17 | ||
|
18 | Example on how to create sets of data: | |
|
19 | \snippet ../example/barchart/main.cpp 2 | |
|
20 | ||
|
21 | Example on how to add sets to bar chart: | |
|
22 | \snippet ../example/barchart/main.cpp 3 | |
|
23 | ||
|
24 | Example on how to enable tooltip and floating values: | |
|
25 | \snippet ../example/barchart/main.cpp 4 | |
|
26 | ||
|
27 | Example on how to create view and apply theme: | |
|
28 | \snippet ../example/barchart/main.cpp 5 | |
|
29 | ||
|
30 | 15 | \sa QBarCategory, QBarSet, QPercentBarSeries, QBarSeries |
|
31 | 16 | */ |
|
32 | 17 |
General Comments 0
You need to be logged in to leave comments.
Login now