|
|
--------------------------------
|
|
|
Commercial Charts Add-on 1.2.0
|
|
|
--------------------------------
|
|
|
|
|
|
What's in Qt Commercial Charts
|
|
|
=============================
|
|
|
|
|
|
Directory structure:
|
|
|
|
|
|
src/
|
|
|
Source code of the Qt Commercial Charts
|
|
|
plugins/
|
|
|
QML bindings plugin and QtCreator plugin
|
|
|
examples/
|
|
|
Some examples of using Qt Commercial Charts
|
|
|
demos/
|
|
|
More versatile example applications showing how to customize charts,
|
|
|
combine several chart types and implement interaction in charts
|
|
|
doc/
|
|
|
Documentation
|
|
|
licenses/
|
|
|
Licensing information
|
|
|
|
|
|
Building
|
|
|
========
|
|
|
Please note that if you have already installed a previous version of
|
|
|
QtCommercial Charts, you should first uninstall it with
|
|
|
make uninstall
|
|
|
|
|
|
Configure project with qmake and build project with make:
|
|
|
(Linux) make
|
|
|
(Windows with MinGw) mingw32-make
|
|
|
(Visual Studio) nmake
|
|
|
(OSX) make
|
|
|
|
|
|
For debug builds:
|
|
|
qmake CONFIG+=debug; make
|
|
|
or
|
|
|
qmake CONFIG+=debug_and_release; make debug
|
|
|
|
|
|
For release builds:
|
|
|
qmake CONFIG+=release ; make
|
|
|
or
|
|
|
qmake CONFIG+=debug_and_release; make release
|
|
|
|
|
|
For both builds
|
|
|
qmake CONFIG+="debug_and_release build_all"; make
|
|
|
|
|
|
If you want to install the libraries to your Qt library directory use:
|
|
|
make install
|
|
|
|
|
|
If you want to uninstall the libraries
|
|
|
make uninstall
|
|
|
|
|
|
Building as a statically linked library
|
|
|
=======================================
|
|
|
|
|
|
The same as above applies you will just have to add staticlib to the CONFIG:
|
|
|
qmake CONFIG+=staticlib
|
|
|
|
|
|
Documentation
|
|
|
=============
|
|
|
Documentation can be found from doc/html directory. The documentation
|
|
|
can also be generated with:
|
|
|
make docs
|
|
|
|
|
|
Main Changes between 1.1.0 and 1.2.0
|
|
|
===================================
|
|
|
- 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
|
|
|
|
|
|
Bug Fixes
|
|
|
==========
|
|
|
- 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
|
|
|
|
|
|
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)
|
|
|
- Declarative plugin is available from Qt 4.7.4 onwards because of missing
|
|
|
Q_REVISION macro in the earlier Qt releases
|
|
|
|