##// END OF EJS Templates
Fix crash when changing the values to empty model with logarithmic axis...
Fix crash when changing the values to empty model with logarithmic axis One zero or negative value invalidates the whole layout for logarithmic axes, but this wasn't taken into account when replacing the points. Task-number: QTRD-1914 Reviewed-by: Mika Salmela

File last commit:

r2427:b3d485323aa9
r2427:b3d485323aa9
Show More
README
92 lines | 2.9 KiB | text/plain | TextLexer
--------------------------------
Commercial Charts Add-on 1.2.1
--------------------------------
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.2.0 and 1.2.1
===================================
- Commercial Charts documentation also as *.qch file
Bug Fixes
==========
- 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
- Fixed: Axis titles can slightly overlap with axis labels and axis lines
- Fixed: Charts crashes when changing the values to empty model with logarithmic axis
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
- 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