summaryrefslogtreecommitdiffstats
path: root/README
blob: d3c3416254a358693bec08d5548c5f4b34499728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
--------------------------------
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
- Fixed: The legend marker for main series in breakdown series piechart couldnt be updated with custom value
- Fixed: Positioning errors with category axis and bar category axis ticks

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