README
91 lines
| 2.8 KiB
| text/plain
|
TextLexer
samakkon
|
r916 | -------------------------------- | ||
Miikka Heikkinen
|
r2426 | Commercial Charts Add-on 1.2.1 | ||
samakkon
|
r916 | -------------------------------- | ||
Michal Klocek
|
r1678 | What's in Qt Commercial Charts | ||
samakkon
|
r916 | ============================= | ||
Directory structure: | ||||
src/ | ||||
Source code of the Qt Commercial Charts | ||||
Tero Ahola
|
r1402 | plugins/ | ||
QML bindings plugin and QtCreator plugin | ||||
samakkon
|
r916 | examples/ | ||
Some examples of using Qt Commercial Charts | ||||
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 | ||
QtCommercial Charts, you should first uninstall it with | ||||
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 | ||
============= | ||||
Tero Ahola
|
r2035 | Documentation can be found from doc/html directory. The documentation | ||
can also be generated with: | ||||
make docs | ||||
samakkon
|
r916 | |||
Miikka Heikkinen
|
r2426 | Main Changes between 1.2.0 and 1.2.1 | ||
sauimone
|
r1665 | =================================== | ||
Miikka Heikkinen
|
r2426 | |||
- Commercial Charts documentation also as *.qch file | ||||
Tero Ahola
|
r2035 | |||
Bug Fixes | ||||
========== | ||||
Miikka Heikkinen
|
r2426 | - Fixed: Crash with NaN, inf, -inf values (values are ignored) | ||
- Fixed: Axis label truncated with multiple axis | ||||
- Fixed: Using setLineVisible(false) on a QBarCategoryAxis gives blurry text | ||||
- Fixed: Set the range to min and max for default axes from previously added series | ||||
- Fixed: Axes use incorrect bounding rectangle to calculate sizeHint when labels are in non-default angle | ||||
- Fixes: Axis titles can slightly overlap with axis labels and axis lines | ||||
Tero Ahola
|
r2035 | |||
Known Issues | ||||
============ | ||||
- Automatic scaling of the axes is only done when you add a series on a chart | ||||
- DateTimeAxis is not supported on ARM because of floating point precision | ||||
issues (qreals are floats) | ||||
Tero Ahola
|
r2036 | - Declarative plugin is available from Qt 4.7.4 onwards because of missing | ||
Q_REVISION macro in the earlier Qt releases | ||||
Tero Ahola
|
r2397 | - Defining axis min-max values sometimes affects other axes with the same orientation | ||
- See for example the secondary y-axis of QML Weather demo application | ||||
- The work-around is to set axis range dynamically instead of initializing min and | ||||
max properties to certain values | ||||