README
104 lines
| 3.4 KiB
| text/plain
|
TextLexer
samakkon
|
r916 | -------------------------------- | ||
Tero Ahola
|
r2014 | Commercial Charts Add-on 1.1.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
|
r2014 | Licensing information | ||
samakkon
|
r917 | |||
Michal Klocek
|
r1049 | Building | ||
samakkon
|
r916 | ======== | ||
Tero Ahola
|
r2014 | 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
|
r2014 | 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
|
r2014 | 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
|
r2014 | Documentation can be found from doc/html directory. The documentation | ||
can also be generated with: | ||||
make docs | ||||
samakkon
|
r916 | |||
Tero Ahola
|
r2014 | Main Changes between 1.0.0 and 1.1.0 | ||
sauimone
|
r1665 | =================================== | ||
Tero Ahola
|
r2014 | - Versions 1.0.0 and 1.1.0 are not binary or source compatible. We are sorry about this. | ||
- Horizontal bar series has been added | ||||
- New axis types: DateTimeAxis and CategoryAxis | ||||
- PieSeries now supports drawing as a donut | ||||
- ValuesAxis renamed to ValueAxis | ||||
- BarCategoriesAxis renamed to BarCategoryAxis | ||||
- Drawing performance of LineSeries has been improved | ||||
- New data replacament method with better performance implemented in XYSeries | ||||
- It is now possible to take PieSlices/BarSets back from the series without deleting | ||||
- Build issues with Embedded Linux on ARM fixed | ||||
- Several new examples and demos | ||||
- QML Axis APIs improved | ||||
- Improved QML API: new borders/lines related properties for series | ||||
- ChartView margins are now configured via minimumMargins property | ||||
- QML API version number changed to 1.1 | ||||
- You can now set a custom format for ValueAxis labels | ||||
- ValueAxis label layout improved | ||||
Bug Fixes | ||||
========== | ||||
- Fixed: When a spline series is cleared then the first points still end up being drawn | ||||
- Fixed nice numbers algorithm issue with zoom | ||||
- Fixed configuration issues with debug_and_release and build_all flags | ||||
- Fixed setting color for a BarSet label | ||||
- Fixed bar series autoscaling with negative values | ||||
Known Issues | ||||
============ | ||||
- Automatic scaling of the axes is only done when you add a series on a chart | ||||
- If adding several axes, automatic scaling is done based on the last axis added | ||||
- Only one Y and X axis can be visible at the same time | ||||
- Unit label for axes is not implemented | ||||
- Switching off OpenGL (after using a QGLWidget as a viewport) causes a crash in OSX | ||||
- Setting minimum margins breaks down the layout in some cases | ||||
- DateTimeAxis is not supported on ARM because of floating point precision | ||||
issues (qreals are floats) | ||||