@@ -1,113 +1,118 | |||||
1 | ---------------------- |
|
1 | ---------------------- | |
2 |
Qt Charts Add-on 1.3. |
|
2 | Qt Charts Add-on 1.3.1 | |
3 | ---------------------- |
|
3 | ---------------------- | |
4 |
|
4 | |||
5 | What's in Qt Charts |
|
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 Charts |
|
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 Charts |
|
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 | ||||
26 | Please note that if you have already installed a previous version of |
|
27 | Please note that if you have already installed a previous version of | |
27 | Qt Charts, you should first uninstall it with |
|
28 | Qt Charts, you should first uninstall it with | |
28 | make uninstall |
|
29 | make uninstall | |
29 |
|
30 | |||
30 | Configure project with qmake and build project with make: |
|
31 | Configure project with qmake and build project with make: | |
31 | (Linux) make |
|
32 | (Linux) make | |
32 | (Windows with MinGw) mingw32-make |
|
33 | (Windows with MinGw) mingw32-make | |
33 | (Visual Studio) nmake |
|
34 | (Visual Studio) nmake | |
34 | (OSX) make |
|
35 | (OSX) make | |
35 |
|
36 | |||
36 | For debug builds: |
|
37 | For debug builds: | |
37 | qmake CONFIG+=debug; make |
|
38 | qmake CONFIG+=debug; make | |
38 | or |
|
39 | or | |
39 | qmake CONFIG+=debug_and_release; make debug |
|
40 | qmake CONFIG+=debug_and_release; make debug | |
40 |
|
41 | |||
41 | For release builds: |
|
42 | For release builds: | |
42 |
qmake CONFIG+=release |
|
43 | qmake CONFIG+=release; make | |
43 | or |
|
44 | or | |
44 | qmake CONFIG+=debug_and_release; make release |
|
45 | qmake CONFIG+=debug_and_release; make release | |
45 |
|
46 | |||
46 | For both builds |
|
47 | For both builds: | |
47 | qmake CONFIG+="debug_and_release build_all"; make |
|
48 | qmake CONFIG+="debug_and_release build_all"; make | |
48 |
|
49 | |||
49 | If you want to leave out demos and examples from the build you can use |
|
50 | If you want to leave out demos and examples from the build you can use | |
50 | the following config with qmake: |
|
51 | the following config with qmake: | |
51 | CONFIG+=nomake_demos_examples |
|
52 | CONFIG+=nomake_demos_examples | |
52 |
|
53 | |||
53 | If you want to install the libraries to your Qt library directory use: |
|
54 | If you want to install the libraries to your Qt library directory use: | |
54 | make install |
|
55 | make install | |
55 |
|
56 | |||
56 | If you want to uninstall the libraries |
|
57 | If you want to uninstall the libraries: | |
57 | make uninstall |
|
58 | make uninstall | |
58 |
|
59 | |||
59 | Building as a statically linked library |
|
60 | Building as a statically linked library | |
60 | ======================================= |
|
61 | ======================================= | |
61 |
|
62 | |||
62 | The same as above applies you will just have to add staticlib to the CONFIG: |
|
63 | The same as above applies, you will just have to add staticlib to the CONFIG: | |
63 | qmake CONFIG+=staticlib |
|
64 | qmake CONFIG+=staticlib | |
64 |
|
65 | |||
65 | Documentation |
|
66 | Documentation | |
66 | ============= |
|
67 | ============= | |
|
68 | ||||
67 | Documentation can be found from doc/html and doc/qch directories. The documentation |
|
69 | Documentation can be found from doc/html and doc/qch directories. The documentation | |
68 | can also be generated with: |
|
70 | can also be generated with: | |
69 | make docs |
|
71 | make docs | |
70 |
|
72 | |||
71 | Main Changes between 1.2.1 and 1.3.0 |
|
73 | The documentation provided with Charts is generated with qdoc and the creation of the | |
|
74 | documentation is prioritized for Qt5. We recommend building the documentation using Qt5, | |||
|
75 | if you want to do it yourself. Creating the documentation using Qt4 also works, but some | |||
|
76 | pages are not generated correctly, such as the 'List of All Members' page for all C++ and | |||
|
77 | QML APIs in .qch documentation. | |||
|
78 | ||||
|
79 | Main Changes between 1.3.0 and 1.3.1 | |||
72 | ==================================== |
|
80 | ==================================== | |
73 |
|
81 | |||
74 | - New chart type added: Polar chart |
|
82 | - New Qt theme template added | |
75 | - New series type added: Box and whiskers |
|
|||
76 | - QtQuick 2 support added |
|
|||
77 | - Note: Since Qt Charts still uses QGraphicsView framework under the hood |
|
|||
78 | even with QtQuick 2, its performance is actually better with QtQuick 1 than with QtQuick 2. |
|
|||
79 |
|
83 | |||
80 | Bug Fixes and minor new features |
|
84 | Bug Fixes and minor new features | |
81 | ================================ |
|
85 | ================================ | |
82 |
|
86 | |||
83 | - New: Added missing QML support for LogValueAxis |
|
87 | - New: Added new hovered signal for bar charts with index information | |
84 | - New: Implement index based removing/replacing points in a series |
|
88 | - New: Added example of using dynamically generated image as a brush for scatter series | |
85 | - New: Added API to specify plot area background for the chart |
|
89 | - New: Added HTML support for pie slice labels | |
86 | - New: Added HTML support for various text items such as axis labels or titles |
|
90 | - New: Added possibility to build Charts without demos and examples | |
87 | - HTML tags (e.g. <br/>) and character codes (e.g. °) are now supported |
|
91 | - Fixed: Theme initialization performance for bar series is improved | |
88 | - Setting pen for text items is deprecated and does nothing |
|
92 | - Fixed: Documentation generated against Qt5 | |
89 | - When setting brush for text items, only the color of the brush is relevant. |
|
93 | - Fixed: Pie chart label is truncated if there's not enough space for the label | |
90 | It specifies the default text color for the item. |
|
94 | - Fixed: Legend item truncation to start with the longest item | |
91 | - Logic for identifying axis label format specifiers was improved, so adding |
|
95 | - Fixed: Vertical and horizontal truncation of labels in bar chart | |
92 | additional information to labels via label format string is now more viable. |
|
96 | - Fixed: Dynamic qml axis switch | |
93 | - New: Added QChart::zoomReset() and QChart::isZoomed() |
|
97 | - Fixed: Crash with empty QAreaSeries | |
94 | - New: Added API for setting roundness of the corners for the background of the chart |
|
98 | - Fixed: Missing legend when printing a chart that is not shown | |
95 | - Fixed: If vertical QLogValueAxis base is selected so that it has only single visible tick, |
|
99 | - Fixed: Crash when zooming | |
96 | its label always displays as "..." |
|
100 | - Fixed: Chart geometry calculated only for visible items | |
97 | - Fixed: Crash when removing pie series from chart |
|
101 | - Fixed: Alignment for multiline items | |
98 | - Fixed: Most themes disable axis shades |
|
102 | - Alignment can be set for multiline items using format: | |
99 | - Fixed: Lingering shades from high contrast theme |
|
103 | "<p align=\"center\">multiline<br\>item</p>" | |
100 | - Fixed: Crash when adding/removing points during animation |
|
104 | - Fixed: Removed redundancy when setting the axis title | |
101 | - Fixed: Wrong expand direction with rotated chart view |
|
105 | - Fixed: Mouse event handling with rubber band | |
102 | - Fixed: Android build errors |
|
106 | - Fixed: logarithmic axis point calculation for zero and negative values | |
103 | - Fixed: Explicitly set default pen/brush/font got overridden by theme |
|
107 | - Fixed: Chart build on Solaris | |
104 | - Default pens, brushes, and fonts were changed to ones that won't clash with commonly |
|
108 | - Fixed: Axis creation with createDefaultAxes() when series of different types are present | |
105 | used types of the same. Most notably black pen is no longer default and won't anymore |
|
109 | - Fixed: Debug information text color changed to gray to make it visible with all themes | |
106 | get overridden by theme if used. |
|
110 | - Fixed: Min and max conflict with standard macros on Windows | |
107 | - Fixed: Multi-line axis titles and labels now position correctly |
|
111 | - Fixed: Chart build with QT_NO_TEXTSTREAM definition | |
108 | - Note that '\n' no longer causes new line in text items, use HTML tag <br/> instead |
|
112 | - Fixed: Chart build with QT_NO_RUBBERBAND definition | |
109 | - Fixed: Legend markers text truncation with small font sizes |
|
113 | - Fixed: Chart build with QT_NO_GRAPHICSEFFECT definition | |
110 | - Fixed: QChartView right click zoom out when zooming only along one axis |
|
114 | ||
111 | - Fixed: Crash or memory leak when resetting animation options mid-animation |
|
115 | Known issues | |
112 | - Fixed: QBarCategoryAxis doesn't notify domain on category remove |
|
116 | ============ | |
113 | - Fixed: axisXTop QML property now actually puts axis on top |
|
117 | ||
|
118 | - Zooming too far or too close may eventually freeze the zooming and scrolling. |
General Comments 0
You need to be logged in to leave comments.
Login now