README
114 lines
| 4.0 KiB
| text/plain
|
TextLexer
|
r916 | -------------------------------- | ||
|
r2035 | Commercial Charts Add-on 1.1.0 | ||
|
r916 | -------------------------------- | ||
|
r1678 | What's in Qt Commercial Charts | ||
|
r916 | ============================= | ||
Directory structure: | ||||
src/ | ||||
Source code of the Qt Commercial Charts | ||||
|
r1402 | plugins/ | ||
QML bindings plugin and QtCreator plugin | ||||
|
r916 | examples/ | ||
Some examples of using Qt Commercial Charts | ||||
demos/ | ||||
|
r1402 | More versatile example applications showing how to customize charts, | ||
|
r917 | combine several chart types and implement interaction in charts | ||
|
r916 | doc/ | ||
Documentation | ||||
|
r1049 | licenses/ | ||
|
r2035 | Licensing information | ||
|
r917 | |||
|
r1049 | Building | ||
|
r916 | ======== | ||
|
r2035 | Please note that if you have already installed a previous version of | ||
QtCommercial Charts, you should first uninstall it with | ||||
make uninstall | ||||
|
r916 | |||
|
r1678 | Configure project with qmake and build project with make: | ||
|
r1677 | (Linux) make | ||
|
r1049 | (Windows with MinGw) mingw32-make | ||
|
r1403 | (Visual Studio) nmake | ||
|
r1440 | (OSX) make | ||
|
r916 | |||
|
r1677 | For debug builds: | ||
|
r2035 | qmake CONFIG+=debug; make | ||
|
r1677 | or | ||
|
r1678 | qmake CONFIG+=debug_and_release; make debug | ||
|
r1677 | |||
For release builds: | ||||
qmake CONFIG+=release ; make | ||||
or | ||||
|
r1678 | qmake CONFIG+=debug_and_release; make release | ||
|
r1677 | |||
For both builds | ||||
|
r2035 | qmake CONFIG+="debug_and_release build_all"; make | ||
|
r1677 | |||
|
r916 | If you want to install the libraries to your Qt library directory use: | ||
|
r1049 | make install | ||
|
r916 | |||
|
r1049 | If you want to uninstall the libraries | ||
make uninstall | ||||
|
r916 | |||
|
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 | ||||
|
r916 | Documentation | ||
============= | ||||
|
r2035 | Documentation can be found from doc/html directory. The documentation | ||
can also be generated with: | ||||
make docs | ||||
|
r916 | |||
|
r2035 | Main Changes between 1.0.0 and 1.1.0 | ||
|
r1665 | =================================== | ||
|
r2035 | - 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 | ||||
|
r2036 | - QML Axis APIs and series handling in ChartView API improved | ||
|
r2035 | - 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 | ||||
|
r2036 | - Fixed build issue on OSX caused by an extra space in a LIBS definition | ||
- Switched the z-order of series to be on top of axis | ||||
- The pen of legend marker now matches the color of legend label | ||||
- Fixed initializing the color of a PieSlice and border color of a ScatterSeris in QML | ||||
- Antialias is now disabled in declarative plugin by default | ||||
- Fixed QML PieModelMappers defined outside the series scope | ||||
- Fixed an issue with QLegend attach requiring a resize | ||||
|
r2035 | |||
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) | ||||
|
r2036 | - Declarative plugin is available from Qt 4.7.4 onwards because of missing | ||
Q_REVISION macro in the earlier Qt releases | ||||
- Fixed BarSet.remove in QML API | ||||