README
109 lines
| 4.0 KiB
| text/plain
|
TextLexer
|
r2587 | ---------------------- | ||
Qt Charts Add-on 1.3.0 | ||||
---------------------- | ||||
|
r916 | |||
|
r2587 | What's in Qt Charts | ||
=================== | ||||
|
r916 | |||
Directory structure: | ||||
src/ | ||||
|
r2587 | Source code of the Qt Charts | ||
|
r1402 | plugins/ | ||
|
r2571 | QML bindings plugins and QtCreator plugin | ||
|
r916 | examples/ | ||
|
r2587 | Some examples of using Qt Charts | ||
|
r916 | demos/ | ||
|
r1402 | More versatile example applications showing how to customize charts, | ||
|
r917 | combine several chart types and implement interaction in charts | ||
|
r916 | doc/ | ||
Documentation | ||||
|
r1049 | licenses/ | ||
|
r2035 | Licensing information | ||
|
r917 | |||
|
r1049 | Building | ||
|
r916 | ======== | ||
|
r2035 | Please note that if you have already installed a previous version of | ||
|
r2587 | Qt Charts, you should first uninstall it with | ||
|
r2035 | make uninstall | ||
|
r916 | |||
|
r1678 | Configure project with qmake and build project with make: | ||
|
r1677 | (Linux) make | ||
|
r1049 | (Windows with MinGw) mingw32-make | ||
|
r1403 | (Visual Studio) nmake | ||
|
r1440 | (OSX) make | ||
|
r916 | |||
|
r1677 | For debug builds: | ||
|
r2035 | qmake CONFIG+=debug; make | ||
|
r1677 | or | ||
|
r1678 | qmake CONFIG+=debug_and_release; make debug | ||
|
r1677 | |||
For release builds: | ||||
qmake CONFIG+=release ; make | ||||
or | ||||
|
r1678 | qmake CONFIG+=debug_and_release; make release | ||
|
r1677 | |||
For both builds | ||||
|
r2035 | qmake CONFIG+="debug_and_release build_all"; make | ||
|
r1677 | |||
|
r916 | If you want to install the libraries to your Qt library directory use: | ||
|
r1049 | make install | ||
|
r916 | |||
|
r1049 | If you want to uninstall the libraries | ||
make uninstall | ||||
|
r916 | |||
|
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 | ||||
|
r916 | Documentation | ||
============= | ||||
|
r2441 | Documentation can be found from doc/html and doc/qch directories. The documentation | ||
|
r2035 | can also be generated with: | ||
make docs | ||||
|
r916 | |||
|
r2488 | Main Changes between 1.2.1 and 1.3.0 | ||
|
r2571 | ==================================== | ||
|
r2426 | |||
|
r2488 | - New chart type added: Polar chart | ||
|
r2571 | - New series type added: Box and whiskers | ||
|
r2488 | - QtQuick 2 support added | ||
|
r2587 | - Note: Since Qt Charts still uses QGraphicsView framework under the hood | ||
|
r2577 | even with QtQuick 2, its performance is actually better with QtQuick 1 than with QtQuick 2. | ||
|
r2035 | |||
|
r2571 | Bug Fixes and minor new features | ||
================================ | ||||
|
r2035 | |||
|
r2571 | - New: Added missing QML support for LogValueAxis | ||
|
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. | ||||
|
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 | ||||
|
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. | ||||
|
r2571 | - Fixed: Multi-line axis titles and labels now position correctly | ||
|
r2577 | - Note that '\n' no longer causes new line in text items, use HTML tag <br/> instead | ||
|
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 | ||||
|
r2587 | - Fixed: axisXTop QML property now actually puts axis on top | ||