README
109 lines
| 4.0 KiB
| text/plain
|
TextLexer
Miikka Heikkinen
|
r2587 | ---------------------- | ||
Qt Charts Add-on 1.3.0 | ||||
---------------------- | ||||
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 | ======== | ||
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: | ||||
qmake CONFIG+=release ; make | ||||
or | ||||
Michal Klocek
|
r1678 | qmake CONFIG+=debug_and_release; make release | ||
Michal Klocek
|
r1677 | |||
For both builds | ||||
Tero Ahola
|
r2035 | qmake CONFIG+="debug_and_release build_all"; make | ||
Michal Klocek
|
r1677 | |||
samakkon
|
r916 | If you want to install the libraries to your Qt library directory use: | ||
Michal Klocek
|
r1049 | make install | ||
samakkon
|
r916 | |||
Michal Klocek
|
r1049 | If you want to uninstall the libraries | ||
make uninstall | ||||
samakkon
|
r916 | |||
Jani Honkonen
|
r1440 | Building as a statically linked library | ||
======================================= | ||||
The same as above applies you will just have to add staticlib to the CONFIG: | ||||
qmake CONFIG+=staticlib | ||||
samakkon
|
r916 | Documentation | ||
============= | ||||
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 | |||
Miikka Heikkinen
|
r2488 | Main Changes between 1.2.1 and 1.3.0 | ||
Miikka Heikkinen
|
r2571 | ==================================== | ||
Miikka Heikkinen
|
r2426 | |||
Miikka Heikkinen
|
r2488 | - New chart type added: Polar chart | ||
Miikka Heikkinen
|
r2571 | - New series type added: Box and whiskers | ||
Miikka Heikkinen
|
r2488 | - QtQuick 2 support added | ||
Miikka Heikkinen
|
r2587 | - Note: Since Qt Charts still uses QGraphicsView framework under the hood | ||
Miikka Heikkinen
|
r2577 | even with QtQuick 2, its performance is actually better with QtQuick 1 than with QtQuick 2. | ||
Tero Ahola
|
r2035 | |||
Miikka Heikkinen
|
r2571 | Bug Fixes and minor new features | ||
================================ | ||||
Tero Ahola
|
r2035 | |||
Miikka Heikkinen
|
r2571 | - New: Added missing QML support for LogValueAxis | ||
Miikka Heikkinen
|
r2577 | - New: Implement index based removing/replacing points in a series | ||
- New: Added API to specify plot area background for the chart | ||||
- New: Added HTML support for various text items such as axis labels or titles | ||||
- HTML tags (e.g. <br/>) and character codes (e.g. °) are now supported | ||||
- Setting pen for text items is deprecated and does nothing | ||||
- When setting brush for text items, only the color of the brush is relevant. | ||||
It specifies the default text color for the item. | ||||
- Logic for identifying axis label format specifiers was improved, so adding | ||||
additional information to labels via label format string is now more viable. | ||||
Miikka Heikkinen
|
r2571 | - New: Added QChart::zoomReset() and QChart::isZoomed() | ||
- New: Added API for setting roundness of the corners for the background of the chart | ||||
- Fixed: If vertical QLogValueAxis base is selected so that it has only single visible tick, | ||||
its label always displays as "..." | ||||
- Fixed: Crash when removing pie series from chart | ||||
- Fixed: Most themes disable axis shades | ||||
- Fixed: Lingering shades from high contrast theme | ||||
- Fixed: Crash when adding/removing points during animation | ||||
- Fixed: Wrong expand direction with rotated chart view | ||||
- Fixed: Android build errors | ||||
- Fixed: Explicitly set default pen/brush/font got overridden by theme | ||||
Miikka Heikkinen
|
r2577 | - Default pens, brushes, and fonts were changed to ones that won't clash with commonly | ||
used types of the same. Most notably black pen is no longer default and won't anymore | ||||
get overridden by theme if used. | ||||
Miikka Heikkinen
|
r2571 | - Fixed: Multi-line axis titles and labels now position correctly | ||
Miikka Heikkinen
|
r2577 | - Note that '\n' no longer causes new line in text items, use HTML tag <br/> instead | ||
Miikka Heikkinen
|
r2571 | - Fixed: Legend markers text truncation with small font sizes | ||
- Fixed: QChartView right click zoom out when zooming only along one axis | ||||
- Fixed: Crash or memory leak when resetting animation options mid-animation | ||||
- Fixed: QBarCategoryAxis doesn't notify domain on category remove | ||||
Miikka Heikkinen
|
r2587 | - Fixed: axisXTop QML property now actually puts axis on top | ||