@@ -1,108 +1,109 | |||||
1 |
---------------------- |
|
1 | ---------------------- | |
2 |
Qt |
|
2 | Qt Charts Add-on 1.3.0 | |
3 |
---------------------- |
|
3 | ---------------------- | |
4 |
|
4 | |||
5 |
What's in Qt |
|
5 | What's in Qt Charts | |
6 |
=================== |
|
6 | =================== | |
7 |
|
7 | |||
8 | Directory structure: |
|
8 | Directory structure: | |
9 |
|
9 | |||
10 | src/ |
|
10 | src/ | |
11 |
Source code of the Qt |
|
11 | Source code of the Qt Charts | |
12 | plugins/ |
|
12 | plugins/ | |
13 | QML bindings plugins and QtCreator plugin |
|
13 | QML bindings plugins and QtCreator plugin | |
14 | examples/ |
|
14 | examples/ | |
15 |
Some examples of using Qt |
|
15 | Some examples of using Qt Charts | |
16 | demos/ |
|
16 | demos/ | |
17 | More versatile example applications showing how to customize charts, |
|
17 | More versatile example applications showing how to customize charts, | |
18 | combine several chart types and implement interaction in charts |
|
18 | combine several chart types and implement interaction in charts | |
19 | doc/ |
|
19 | doc/ | |
20 | Documentation |
|
20 | Documentation | |
21 | licenses/ |
|
21 | licenses/ | |
22 | Licensing information |
|
22 | Licensing information | |
23 |
|
23 | |||
24 | Building |
|
24 | Building | |
25 | ======== |
|
25 | ======== | |
26 | Please note that if you have already installed a previous version of |
|
26 | Please note that if you have already installed a previous version of | |
27 |
Qt |
|
27 | Qt Charts, you should first uninstall it with | |
28 | make uninstall |
|
28 | make uninstall | |
29 |
|
29 | |||
30 | Configure project with qmake and build project with make: |
|
30 | Configure project with qmake and build project with make: | |
31 | (Linux) make |
|
31 | (Linux) make | |
32 | (Windows with MinGw) mingw32-make |
|
32 | (Windows with MinGw) mingw32-make | |
33 | (Visual Studio) nmake |
|
33 | (Visual Studio) nmake | |
34 | (OSX) make |
|
34 | (OSX) make | |
35 |
|
35 | |||
36 | For debug builds: |
|
36 | For debug builds: | |
37 | qmake CONFIG+=debug; make |
|
37 | qmake CONFIG+=debug; make | |
38 | or |
|
38 | or | |
39 | qmake CONFIG+=debug_and_release; make debug |
|
39 | qmake CONFIG+=debug_and_release; make debug | |
40 |
|
40 | |||
41 | For release builds: |
|
41 | For release builds: | |
42 | qmake CONFIG+=release ; make |
|
42 | qmake CONFIG+=release ; make | |
43 | or |
|
43 | or | |
44 | qmake CONFIG+=debug_and_release; make release |
|
44 | qmake CONFIG+=debug_and_release; make release | |
45 |
|
45 | |||
46 | For both builds |
|
46 | For both builds | |
47 | qmake CONFIG+="debug_and_release build_all"; make |
|
47 | qmake CONFIG+="debug_and_release build_all"; make | |
48 |
|
48 | |||
49 | If you want to install the libraries to your Qt library directory use: |
|
49 | If you want to install the libraries to your Qt library directory use: | |
50 | make install |
|
50 | make install | |
51 |
|
51 | |||
52 | If you want to uninstall the libraries |
|
52 | If you want to uninstall the libraries | |
53 | make uninstall |
|
53 | make uninstall | |
54 |
|
54 | |||
55 | Building as a statically linked library |
|
55 | Building as a statically linked library | |
56 | ======================================= |
|
56 | ======================================= | |
57 |
|
57 | |||
58 | The same as above applies you will just have to add staticlib to the CONFIG: |
|
58 | The same as above applies you will just have to add staticlib to the CONFIG: | |
59 | qmake CONFIG+=staticlib |
|
59 | qmake CONFIG+=staticlib | |
60 |
|
60 | |||
61 | Documentation |
|
61 | Documentation | |
62 | ============= |
|
62 | ============= | |
63 | Documentation can be found from doc/html and doc/qch directories. The documentation |
|
63 | Documentation can be found from doc/html and doc/qch directories. The documentation | |
64 | can also be generated with: |
|
64 | can also be generated with: | |
65 | make docs |
|
65 | make docs | |
66 |
|
66 | |||
67 | Main Changes between 1.2.1 and 1.3.0 |
|
67 | Main Changes between 1.2.1 and 1.3.0 | |
68 | ==================================== |
|
68 | ==================================== | |
69 |
|
69 | |||
70 | - New chart type added: Polar chart |
|
70 | - New chart type added: Polar chart | |
71 | - New series type added: Box and whiskers |
|
71 | - New series type added: Box and whiskers | |
72 | - QtQuick 2 support added |
|
72 | - QtQuick 2 support added | |
73 |
- Note: Since Qt |
|
73 | - Note: Since Qt Charts still uses QGraphicsView framework under the hood | |
74 | even with QtQuick 2, its performance is actually better with QtQuick 1 than with QtQuick 2. |
|
74 | even with QtQuick 2, its performance is actually better with QtQuick 1 than with QtQuick 2. | |
75 |
|
75 | |||
76 | Bug Fixes and minor new features |
|
76 | Bug Fixes and minor new features | |
77 | ================================ |
|
77 | ================================ | |
78 |
|
78 | |||
79 | - New: Added missing QML support for LogValueAxis |
|
79 | - New: Added missing QML support for LogValueAxis | |
80 | - New: Implement index based removing/replacing points in a series |
|
80 | - New: Implement index based removing/replacing points in a series | |
81 | - New: Added API to specify plot area background for the chart |
|
81 | - New: Added API to specify plot area background for the chart | |
82 | - New: Added HTML support for various text items such as axis labels or titles |
|
82 | - New: Added HTML support for various text items such as axis labels or titles | |
83 | - HTML tags (e.g. <br/>) and character codes (e.g. °) are now supported |
|
83 | - HTML tags (e.g. <br/>) and character codes (e.g. °) are now supported | |
84 | - Setting pen for text items is deprecated and does nothing |
|
84 | - Setting pen for text items is deprecated and does nothing | |
85 | - When setting brush for text items, only the color of the brush is relevant. |
|
85 | - When setting brush for text items, only the color of the brush is relevant. | |
86 | It specifies the default text color for the item. |
|
86 | It specifies the default text color for the item. | |
87 | - Logic for identifying axis label format specifiers was improved, so adding |
|
87 | - Logic for identifying axis label format specifiers was improved, so adding | |
88 | additional information to labels via label format string is now more viable. |
|
88 | additional information to labels via label format string is now more viable. | |
89 | - New: Added QChart::zoomReset() and QChart::isZoomed() |
|
89 | - New: Added QChart::zoomReset() and QChart::isZoomed() | |
90 | - New: Added API for setting roundness of the corners for the background of the chart |
|
90 | - New: Added API for setting roundness of the corners for the background of the chart | |
91 | - Fixed: If vertical QLogValueAxis base is selected so that it has only single visible tick, |
|
91 | - Fixed: If vertical QLogValueAxis base is selected so that it has only single visible tick, | |
92 | its label always displays as "..." |
|
92 | its label always displays as "..." | |
93 | - Fixed: Crash when removing pie series from chart |
|
93 | - Fixed: Crash when removing pie series from chart | |
94 | - Fixed: Most themes disable axis shades |
|
94 | - Fixed: Most themes disable axis shades | |
95 | - Fixed: Lingering shades from high contrast theme |
|
95 | - Fixed: Lingering shades from high contrast theme | |
96 | - Fixed: Crash when adding/removing points during animation |
|
96 | - Fixed: Crash when adding/removing points during animation | |
97 | - Fixed: Wrong expand direction with rotated chart view |
|
97 | - Fixed: Wrong expand direction with rotated chart view | |
98 | - Fixed: Android build errors |
|
98 | - Fixed: Android build errors | |
99 | - Fixed: Explicitly set default pen/brush/font got overridden by theme |
|
99 | - Fixed: Explicitly set default pen/brush/font got overridden by theme | |
100 | - Default pens, brushes, and fonts were changed to ones that won't clash with commonly |
|
100 | - Default pens, brushes, and fonts were changed to ones that won't clash with commonly | |
101 | used types of the same. Most notably black pen is no longer default and won't anymore |
|
101 | used types of the same. Most notably black pen is no longer default and won't anymore | |
102 | get overridden by theme if used. |
|
102 | get overridden by theme if used. | |
103 | - Fixed: Multi-line axis titles and labels now position correctly |
|
103 | - Fixed: Multi-line axis titles and labels now position correctly | |
104 | - Note that '\n' no longer causes new line in text items, use HTML tag <br/> instead |
|
104 | - Note that '\n' no longer causes new line in text items, use HTML tag <br/> instead | |
105 | - Fixed: Legend markers text truncation with small font sizes |
|
105 | - Fixed: Legend markers text truncation with small font sizes | |
106 | - Fixed: QChartView right click zoom out when zooming only along one axis |
|
106 | - Fixed: QChartView right click zoom out when zooming only along one axis | |
107 | - Fixed: Crash or memory leak when resetting animation options mid-animation |
|
107 | - Fixed: Crash or memory leak when resetting animation options mid-animation | |
108 | - Fixed: QBarCategoryAxis doesn't notify domain on category remove |
|
108 | - Fixed: QBarCategoryAxis doesn't notify domain on category remove | |
|
109 | - Fixed: axisXTop QML property now actually puts axis on top |
General Comments 0
You need to be logged in to leave comments.
Login now