README
112 lines
| 3.6 KiB
| text/plain
|
TextLexer
samakkon
|
r916 | -------------------------------- | ||
Tero Ahola
|
r2395 | Commercial Charts Add-on 1.2.0 | ||
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 | |||
Tero Ahola
|
r2395 | Main Changes between 1.1.0 and 1.2.0 | ||
sauimone
|
r1665 | =================================== | ||
Tero Ahola
|
r2395 | - Multiple axis support and possibility to define the location of the Axis on chart | ||
- New axis type: QLogValueAxis for creating Logarithmic Axes | ||||
- Axis titles added | ||||
- Axis management improvements | ||||
- QChart::addAxis | ||||
- QAbstractSeries::attachAxis | ||||
- Legend marker API added | ||||
- | ||||
- Hovered signal added to XYSeries (Line, Spline, Area and Scatter) | ||||
- Mapping between chart coordinates and pixel coordinates added | ||||
- QChart::mapToValue | ||||
- QChart::mapToPosition | ||||
- Several new examples and demos: | ||||
- Legend Markers | ||||
- Log Value Axis | ||||
- Multiaxis | ||||
- Audio - Visualizes mic input | ||||
- Callout - Example how to add additional information on top of chart | ||||
- QML Custom Legend - Example how to build your custom legend in QML | ||||
- ChartView margins can be configured via Margins property | ||||
- QML API version number changed to 1.2 | ||||
- Layout management has been improved | ||||
- Qt 5 Compatibility tested with Qt 5.0.0RC2 | ||||
Tero Ahola
|
r2035 | |||
Bug Fixes | ||||
========== | ||||
Tero Ahola
|
r2395 | - Fixed: Axis label format errors with several formatters | ||
- Fixed: QLegend update issues | ||||
- Fixed: XYModelMapper incompatibility with QDate and QDateTime data | ||||
- Fixed: The declaration order of QML CategoryRange objects should not affect CategoryAxis | ||||
- Fixed: Changing axis tick count does not trigger repaint | ||||
- Fixed: Charts layout is not calculated correctly after the change in the text of legend marker | ||||
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 | ||||