@@ -1,104 +1,114 | |||
|
1 | 1 | -------------------------------- |
|
2 | 2 | Commercial Charts Add-on 1.1.0 |
|
3 | 3 | -------------------------------- |
|
4 | 4 | |
|
5 | 5 | What's in Qt Commercial Charts |
|
6 | 6 | ============================= |
|
7 | 7 | |
|
8 | 8 | Directory structure: |
|
9 | 9 | |
|
10 | 10 | src/ |
|
11 | 11 | Source code of the Qt Commercial Charts |
|
12 | 12 | plugins/ |
|
13 | 13 | QML bindings plugin and QtCreator plugin |
|
14 | 14 | examples/ |
|
15 | 15 | Some examples of using Qt Commercial Charts |
|
16 | 16 | demos/ |
|
17 | 17 | More versatile example applications showing how to customize charts, |
|
18 | 18 | combine several chart types and implement interaction in charts |
|
19 | 19 | doc/ |
|
20 | 20 | Documentation |
|
21 | 21 | licenses/ |
|
22 | 22 | Licensing information |
|
23 | 23 | |
|
24 | 24 | Building |
|
25 | 25 | ======== |
|
26 | 26 | Please note that if you have already installed a previous version of |
|
27 | 27 | QtCommercial Charts, you should first uninstall it with |
|
28 | 28 | make uninstall |
|
29 | 29 | |
|
30 | 30 | Configure project with qmake and build project with make: |
|
31 | 31 | (Linux) make |
|
32 | 32 | (Windows with MinGw) mingw32-make |
|
33 | 33 | (Visual Studio) nmake |
|
34 | 34 | (OSX) make |
|
35 | 35 | |
|
36 | 36 | For debug builds: |
|
37 | 37 | qmake CONFIG+=debug; make |
|
38 | 38 | or |
|
39 | 39 | qmake CONFIG+=debug_and_release; make debug |
|
40 | 40 | |
|
41 | 41 | For release builds: |
|
42 | 42 | qmake CONFIG+=release ; make |
|
43 | 43 | or |
|
44 | 44 | qmake CONFIG+=debug_and_release; make release |
|
45 | 45 | |
|
46 | 46 | For both builds |
|
47 | 47 | qmake CONFIG+="debug_and_release build_all"; make |
|
48 | 48 | |
|
49 | 49 | If you want to install the libraries to your Qt library directory use: |
|
50 | 50 | make install |
|
51 | 51 | |
|
52 | 52 | If you want to uninstall the libraries |
|
53 | 53 | make uninstall |
|
54 | 54 | |
|
55 | 55 | Building as a statically linked library |
|
56 | 56 | ======================================= |
|
57 | 57 | |
|
58 | 58 | The same as above applies you will just have to add staticlib to the CONFIG: |
|
59 | 59 | qmake CONFIG+=staticlib |
|
60 | 60 | |
|
61 | 61 | Documentation |
|
62 | 62 | ============= |
|
63 | 63 | Documentation can be found from doc/html directory. The documentation |
|
64 | 64 | can also be generated with: |
|
65 | 65 | make docs |
|
66 | 66 | |
|
67 | 67 | Main Changes between 1.0.0 and 1.1.0 |
|
68 | 68 | =================================== |
|
69 | 69 | - Versions 1.0.0 and 1.1.0 are not binary or source compatible. We are sorry about this. |
|
70 | 70 | - Horizontal bar series has been added |
|
71 | 71 | - New axis types: DateTimeAxis and CategoryAxis |
|
72 | 72 | - PieSeries now supports drawing as a donut |
|
73 | 73 | - ValuesAxis renamed to ValueAxis |
|
74 | 74 | - BarCategoriesAxis renamed to BarCategoryAxis |
|
75 | 75 | - Drawing performance of LineSeries has been improved |
|
76 | 76 | - New data replacament method with better performance implemented in XYSeries |
|
77 | 77 | - It is now possible to take PieSlices/BarSets back from the series without deleting |
|
78 | 78 | - Build issues with Embedded Linux on ARM fixed |
|
79 | 79 | - Several new examples and demos |
|
80 | - QML Axis APIs improved | |
|
80 | - QML Axis APIs and series handling in ChartView API improved | |
|
81 | 81 | - Improved QML API: new borders/lines related properties for series |
|
82 | 82 | - ChartView margins are now configured via minimumMargins property |
|
83 | 83 | - QML API version number changed to 1.1 |
|
84 | 84 | - You can now set a custom format for ValueAxis labels |
|
85 | 85 | - ValueAxis label layout improved |
|
86 | 86 | |
|
87 | 87 | Bug Fixes |
|
88 | 88 | ========== |
|
89 | 89 | - Fixed: When a spline series is cleared then the first points still end up being drawn |
|
90 | 90 | - Fixed nice numbers algorithm issue with zoom |
|
91 | 91 | - Fixed configuration issues with debug_and_release and build_all flags |
|
92 | 92 | - Fixed setting color for a BarSet label |
|
93 | 93 | - Fixed bar series autoscaling with negative values |
|
94 | - Fixed build issue on OSX caused by an extra space in a LIBS definition | |
|
95 | - Switched the z-order of series to be on top of axis | |
|
96 | - The pen of legend marker now matches the color of legend label | |
|
97 | - Fixed initializing the color of a PieSlice and border color of a ScatterSeris in QML | |
|
98 | - Antialias is now disabled in declarative plugin by default | |
|
99 | - Fixed QML PieModelMappers defined outside the series scope | |
|
100 | - Fixed an issue with QLegend attach requiring a resize | |
|
94 | 101 | |
|
95 | 102 | Known Issues |
|
96 | 103 | ============ |
|
97 | 104 | - Automatic scaling of the axes is only done when you add a series on a chart |
|
98 | 105 | - If adding several axes, automatic scaling is done based on the last axis added |
|
99 | 106 | - Only one Y and X axis can be visible at the same time |
|
100 | 107 | - Unit label for axes is not implemented |
|
101 | 108 | - Switching off OpenGL (after using a QGLWidget as a viewport) causes a crash in OSX |
|
102 | 109 | - Setting minimum margins breaks down the layout in some cases |
|
103 | 110 | - DateTimeAxis is not supported on ARM because of floating point precision |
|
104 | 111 | issues (qreals are floats) |
|
112 | - Declarative plugin is available from Qt 4.7.4 onwards because of missing | |
|
113 | Q_REVISION macro in the earlier Qt releases | |
|
114 | - Fixed BarSet.remove in QML API |
@@ -1,38 +1,38 | |||
|
1 | 1 | /*! |
|
2 | 2 | \example demos/qmlaxes |
|
3 | 3 | \title Qml Axes |
|
4 | 4 | \subtitle |
|
5 | 5 | |
|
6 | 6 | This is a demonstration of how to use axes in your QML application. |
|
7 | 7 | |
|
8 | 8 | \table |
|
9 | 9 | \row |
|
10 | 10 | \o \br |
|
11 | 11 | We begin with a chart that has a line series and a scatter series with random |
|
12 | 12 | data. Both series' use the same axes. |
|
13 | 13 | \br |
|
14 | 14 | \br |
|
15 | 15 | \snippet ../demos/qmlaxes/qml/qmlaxes/View1.qml 1 |
|
16 | 16 | \o \inlineimage demos_qmlaxes1.png |
|
17 | 17 | \endtable |
|
18 | 18 | |
|
19 | 19 | \table |
|
20 | 20 | \row |
|
21 | 21 | \o \br |
|
22 | Then a chart with some accurate historical data that makes us to use a DateTimeAxis. | |
|
22 | The next example shows a chart with some accurate historical data that makes us to use a DateTimeAxis. | |
|
23 | 23 | \br |
|
24 | 24 | \br |
|
25 | 25 | \snippet ../demos/qmlaxes/qml/qmlaxes/View2.qml 1 |
|
26 | 26 | \o \inlineimage demos_qmlaxes2.png |
|
27 | 27 | \endtable |
|
28 | 28 | |
|
29 | 29 | \table |
|
30 | 30 | \row |
|
31 | 31 | \o \br |
|
32 |
And |
|
|
32 | And the final example with a chart that uses a CategoryAxis to make the data easier to understand. | |
|
33 | 33 | \br |
|
34 | 34 | \br |
|
35 | 35 | \snippet ../demos/qmlaxes/qml/qmlaxes/View3.qml 1 |
|
36 | 36 | \o \inlineimage demos_qmlaxes3.png |
|
37 | 37 | \endtable |
|
38 | 38 | */ |
General Comments 0
You need to be logged in to leave comments.
Login now