README
121 lines
| 4.0 KiB
| text/plain
|
TextLexer
Miikka Heikkinen
|
r2587 | ---------------------- | ||
Titta Heikkala
|
r2640 | Qt Charts Add-on 1.3.1 | ||
Miikka Heikkinen
|
r2587 | ---------------------- | ||
samakkon
|
r916 | |||
Miikka Heikkinen
|
r2587 | What's in Qt Charts | ||
=================== | ||||
samakkon
|
r916 | |||
Directory structure: | ||||
src/ | ||||
Miikka Heikkinen
|
r2587 | Source code of the Qt Charts | ||
Tero Ahola
|
r1402 | plugins/ | ||
Miikka Heikkinen
|
r2571 | QML bindings plugins and QtCreator plugin | ||
samakkon
|
r916 | examples/ | ||
Miikka Heikkinen
|
r2587 | Some examples of using Qt Charts | ||
samakkon
|
r916 | demos/ | ||
Tero Ahola
|
r1402 | More versatile example applications showing how to customize charts, | ||
samakkon
|
r917 | combine several chart types and implement interaction in charts | ||
samakkon
|
r916 | doc/ | ||
Documentation | ||||
Michal Klocek
|
r1049 | licenses/ | ||
Tero Ahola
|
r2035 | Licensing information | ||
samakkon
|
r917 | |||
Michal Klocek
|
r1049 | Building | ||
samakkon
|
r916 | ======== | ||
Titta Heikkala
|
r2640 | |||
Tero Ahola
|
r2035 | Please note that if you have already installed a previous version of | ||
Miikka Heikkinen
|
r2587 | Qt Charts, you should first uninstall it with | ||
Tero Ahola
|
r2035 | make uninstall | ||
samakkon
|
r916 | |||
Michal Klocek
|
r1678 | Configure project with qmake and build project with make: | ||
Michal Klocek
|
r1677 | (Linux) make | ||
Michal Klocek
|
r1049 | (Windows with MinGw) mingw32-make | ||
Tero Ahola
|
r1403 | (Visual Studio) nmake | ||
Jani Honkonen
|
r1440 | (OSX) make | ||
samakkon
|
r916 | |||
Michal Klocek
|
r1677 | For debug builds: | ||
Tero Ahola
|
r2035 | qmake CONFIG+=debug; make | ||
Michal Klocek
|
r1677 | or | ||
Michal Klocek
|
r1678 | qmake CONFIG+=debug_and_release; make debug | ||
Michal Klocek
|
r1677 | |||
For release builds: | ||||
Titta Heikkala
|
r2640 | qmake CONFIG+=release; make | ||
Michal Klocek
|
r1677 | or | ||
Michal Klocek
|
r1678 | qmake CONFIG+=debug_and_release; make release | ||
Michal Klocek
|
r1677 | |||
Titta Heikkala
|
r2640 | For both builds: | ||
Tero Ahola
|
r2035 | qmake CONFIG+="debug_and_release build_all"; make | ||
Michal Klocek
|
r1677 | |||
Titta Heikkala
|
r2606 | If you want to leave out demos and examples from the build you can use | ||
the following config with qmake: | ||||
CONFIG+=nomake_demos_examples | ||||
Titta Heikkala
|
r2658 | For some embedded environments, such as VxWorks, all examples and demos | ||
may not be applicable. There it's recommended to use the above mentioned | ||||
config option. | ||||
Titta Heikkala
|
r2606 | |||
samakkon
|
r916 | If you want to install the libraries to your Qt library directory use: | ||
Michal Klocek
|
r1049 | make install | ||
samakkon
|
r916 | |||
Titta Heikkala
|
r2640 | If you want to uninstall the libraries: | ||
Michal Klocek
|
r1049 | make uninstall | ||
samakkon
|
r916 | |||
Jani Honkonen
|
r1440 | Building as a statically linked library | ||
======================================= | ||||
Titta Heikkala
|
r2640 | The same as above applies, you will just have to add staticlib to the CONFIG: | ||
Jani Honkonen
|
r1440 | qmake CONFIG+=staticlib | ||
samakkon
|
r916 | Documentation | ||
============= | ||||
Titta Heikkala
|
r2640 | |||
Miikka Heikkinen
|
r2441 | Documentation can be found from doc/html and doc/qch directories. The documentation | ||
Tero Ahola
|
r2035 | can also be generated with: | ||
make docs | ||||
samakkon
|
r916 | |||
Titta Heikkala
|
r2640 | The documentation provided with Charts is generated with qdoc and the creation of the | ||
documentation is prioritized for Qt5. We recommend building the documentation using Qt5, | ||||
if you want to do it yourself. Creating the documentation using Qt4 also works, but some | ||||
pages are not generated correctly, such as the 'List of All Members' page for all C++ and | ||||
QML APIs in .qch documentation. | ||||
Main Changes between 1.3.0 and 1.3.1 | ||||
Miikka Heikkinen
|
r2571 | ==================================== | ||
Miikka Heikkinen
|
r2426 | |||
Titta Heikkala
|
r2640 | - New Qt theme template added | ||
Tero Ahola
|
r2035 | |||
Miikka Heikkinen
|
r2571 | Bug Fixes and minor new features | ||
================================ | ||||
Tero Ahola
|
r2035 | |||
Titta Heikkala
|
r2640 | - New: Added new hovered signal for bar charts with index information | ||
- New: Added example of using dynamically generated image as a brush for scatter series | ||||
- New: Added HTML support for pie slice labels | ||||
- New: Added possibility to build Charts without demos and examples | ||||
- Fixed: Theme initialization performance for bar series is improved | ||||
- Fixed: Documentation generated against Qt5 | ||||
- Fixed: Pie chart label is truncated if there's not enough space for the label | ||||
- Fixed: Legend item truncation to start with the longest item | ||||
- Fixed: Vertical and horizontal truncation of labels in bar chart | ||||
- Fixed: Dynamic qml axis switch | ||||
- Fixed: Crash with empty QAreaSeries | ||||
- Fixed: Missing legend when printing a chart that is not shown | ||||
- Fixed: Crash when zooming | ||||
- Fixed: Chart geometry calculated only for visible items | ||||
- Fixed: Alignment for multiline items | ||||
- Alignment can be set for multiline items using format: | ||||
"<p align=\"center\">multiline<br\>item</p>" | ||||
- Fixed: Removed redundancy when setting the axis title | ||||
- Fixed: Mouse event handling with rubber band | ||||
- Fixed: logarithmic axis point calculation for zero and negative values | ||||
- Fixed: Chart build on Solaris | ||||
- Fixed: Axis creation with createDefaultAxes() when series of different types are present | ||||
- Fixed: Debug information text color changed to gray to make it visible with all themes | ||||
- Fixed: Min and max conflict with standard macros on Windows | ||||
- Fixed: Chart build with QT_NO_TEXTSTREAM definition | ||||
- Fixed: Chart build with QT_NO_RUBBERBAND definition | ||||
- Fixed: Chart build with QT_NO_GRAPHICSEFFECT definition | ||||
Known issues | ||||
============ | ||||
- Zooming too far or too close may eventually freeze the zooming and scrolling. | ||||