summaryrefslogtreecommitdiffstats
path: root/README
blob: ffa73f674b4abc4e896e3f62443c1566229fe5fe (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
--------------------------------
Commercial Charts Add-on 1.3.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 and doc/qch directories. The documentation
can also be generated with:
    make docs

Main Changes between 1.2.1 and 1.3.0
===================================

- New chart type added: Polar chart
- QtQuick 2 support added

Bug Fixes
==========
TODO

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