##// END OF EJS Templates
A couple of new bug fixes mentioned in README
Tero Ahola -
r2017:d11fc3875002
parent child
Show More
@@ -1,104 +1,114
1 --------------------------------
1 --------------------------------
2 Commercial Charts Add-on 1.1.0
2 Commercial Charts Add-on 1.1.0
3 --------------------------------
3 --------------------------------
4
4
5 What's in Qt Commercial Charts
5 What's in Qt Commercial Charts
6 =============================
6 =============================
7
7
8 Directory structure:
8 Directory structure:
9
9
10 src/
10 src/
11 Source code of the Qt Commercial Charts
11 Source code of the Qt Commercial Charts
12 plugins/
12 plugins/
13 QML bindings plugin and QtCreator plugin
13 QML bindings plugin and QtCreator plugin
14 examples/
14 examples/
15 Some examples of using Qt Commercial Charts
15 Some examples of using Qt Commercial 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 QtCommercial Charts, you should first uninstall it with
27 QtCommercial 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 directory. The documentation
63 Documentation can be found from doc/html directory. 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.0.0 and 1.1.0
67 Main Changes between 1.0.0 and 1.1.0
68 ===================================
68 ===================================
69 - Versions 1.0.0 and 1.1.0 are not binary or source compatible. We are sorry about this.
69 - Versions 1.0.0 and 1.1.0 are not binary or source compatible. We are sorry about this.
70 - Horizontal bar series has been added
70 - Horizontal bar series has been added
71 - New axis types: DateTimeAxis and CategoryAxis
71 - New axis types: DateTimeAxis and CategoryAxis
72 - PieSeries now supports drawing as a donut
72 - PieSeries now supports drawing as a donut
73 - ValuesAxis renamed to ValueAxis
73 - ValuesAxis renamed to ValueAxis
74 - BarCategoriesAxis renamed to BarCategoryAxis
74 - BarCategoriesAxis renamed to BarCategoryAxis
75 - Drawing performance of LineSeries has been improved
75 - Drawing performance of LineSeries has been improved
76 - New data replacament method with better performance implemented in XYSeries
76 - New data replacament method with better performance implemented in XYSeries
77 - It is now possible to take PieSlices/BarSets back from the series without deleting
77 - It is now possible to take PieSlices/BarSets back from the series without deleting
78 - Build issues with Embedded Linux on ARM fixed
78 - Build issues with Embedded Linux on ARM fixed
79 - Several new examples and demos
79 - Several new examples and demos
80 - QML Axis APIs improved
80 - QML Axis APIs and series handling in ChartView API improved
81 - Improved QML API: new borders/lines related properties for series
81 - Improved QML API: new borders/lines related properties for series
82 - ChartView margins are now configured via minimumMargins property
82 - ChartView margins are now configured via minimumMargins property
83 - QML API version number changed to 1.1
83 - QML API version number changed to 1.1
84 - You can now set a custom format for ValueAxis labels
84 - You can now set a custom format for ValueAxis labels
85 - ValueAxis label layout improved
85 - ValueAxis label layout improved
86
86
87 Bug Fixes
87 Bug Fixes
88 ==========
88 ==========
89 - Fixed: When a spline series is cleared then the first points still end up being drawn
89 - Fixed: When a spline series is cleared then the first points still end up being drawn
90 - Fixed nice numbers algorithm issue with zoom
90 - Fixed nice numbers algorithm issue with zoom
91 - Fixed configuration issues with debug_and_release and build_all flags
91 - Fixed configuration issues with debug_and_release and build_all flags
92 - Fixed setting color for a BarSet label
92 - Fixed setting color for a BarSet label
93 - Fixed bar series autoscaling with negative values
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 Known Issues
102 Known Issues
96 ============
103 ============
97 - Automatic scaling of the axes is only done when you add a series on a chart
104 - Automatic scaling of the axes is only done when you add a series on a chart
98 - If adding several axes, automatic scaling is done based on the last axis added
105 - If adding several axes, automatic scaling is done based on the last axis added
99 - Only one Y and X axis can be visible at the same time
106 - Only one Y and X axis can be visible at the same time
100 - Unit label for axes is not implemented
107 - Unit label for axes is not implemented
101 - Switching off OpenGL (after using a QGLWidget as a viewport) causes a crash in OSX
108 - Switching off OpenGL (after using a QGLWidget as a viewport) causes a crash in OSX
102 - Setting minimum margins breaks down the layout in some cases
109 - Setting minimum margins breaks down the layout in some cases
103 - DateTimeAxis is not supported on ARM because of floating point precision
110 - DateTimeAxis is not supported on ARM because of floating point precision
104 issues (qreals are floats)
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 \example demos/qmlaxes
2 \example demos/qmlaxes
3 \title Qml Axes
3 \title Qml Axes
4 \subtitle
4 \subtitle
5
5
6 This is a demonstration of how to use axes in your QML application.
6 This is a demonstration of how to use axes in your QML application.
7
7
8 \table
8 \table
9 \row
9 \row
10 \o \br
10 \o \br
11 We begin with a chart that has a line series and a scatter series with random
11 We begin with a chart that has a line series and a scatter series with random
12 data. Both series' use the same axes.
12 data. Both series' use the same axes.
13 \br
13 \br
14 \br
14 \br
15 \snippet ../demos/qmlaxes/qml/qmlaxes/View1.qml 1
15 \snippet ../demos/qmlaxes/qml/qmlaxes/View1.qml 1
16 \o \inlineimage demos_qmlaxes1.png
16 \o \inlineimage demos_qmlaxes1.png
17 \endtable
17 \endtable
18
18
19 \table
19 \table
20 \row
20 \row
21 \o \br
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 \br
23 \br
24 \br
24 \br
25 \snippet ../demos/qmlaxes/qml/qmlaxes/View2.qml 1
25 \snippet ../demos/qmlaxes/qml/qmlaxes/View2.qml 1
26 \o \inlineimage demos_qmlaxes2.png
26 \o \inlineimage demos_qmlaxes2.png
27 \endtable
27 \endtable
28
28
29 \table
29 \table
30 \row
30 \row
31 \o \br
31 \o \br
32 And finally a chart that uses a CategoryAxis to make the data easier to understand.
32 And the final example with a chart that uses a CategoryAxis to make the data easier to understand.
33 \br
33 \br
34 \br
34 \br
35 \snippet ../demos/qmlaxes/qml/qmlaxes/View3.qml 1
35 \snippet ../demos/qmlaxes/qml/qmlaxes/View3.qml 1
36 \o \inlineimage demos_qmlaxes3.png
36 \o \inlineimage demos_qmlaxes3.png
37 \endtable
37 \endtable
38 */
38 */
General Comments 0
You need to be logged in to leave comments. Login now