##// END OF EJS Templates
Fix ChartView visibility change drawing...
Fix ChartView visibility change drawing New geometry for the ChartPresenter is calculated only when the chart is visible. The geometry is set for the layout always. If the visibility of a series changes then the layout of the legend is only invalidated in case the chart is visible. This removes unnecessary delay of the legend drawing when the chart is set visible. Task-number: QTRD-2064 Change-Id: I78e6da3b859af9becf4f5059e9c02981c79f6d64 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>

File last commit:

r2582:8fe6fadece73
r2605:23dc25e6ce18
Show More
gettingstarted.qdoc
66 lines | 1.4 KiB | text/plain | TextLexer
/ doc / src / gettingstarted.qdoc
/*!
\page gettingstarted.html
\title Qt Charts getting started
\keyword Introduction
Compiling:
\code
qmake CONFIG+=release
make
make install
\endcode
Depending on the OS and the compiler you are using "make" might need to be replaced with another command like: nmake, mingw32-make, etc.
To uninstall the Qt Charts run:
\code
make uninstall
\endcode
Compiling as a static library (lib only):
\code
qmake CONFIG+=staticlib
make
make install
\endcode
Building both debug and release at the same time:
\code
qmake CONFIG+="debug_and_release build_all"
make
make install
\endcode
Please take a note that the \i build_all option is necessary for the install to work correctly. Otherwise it will not install both versions.
\bold {New project}
Create a new project in a usual way and then add to your project's *.pro file following line:
\code
CONFIG += qtcommercialchart
\endcode
\bold {Widget project}
To use the Qt Charts classes add Qt Charts namespace macro in your header file.
\code
#include<QWidget>
#include<QChartView>
QTCOMMERCIALCHART_USE_NAMESPACE
class ExampleWidget : public QWidget
\endcode
\bold {QML project}
Add an import line to your *.qml file:
\code
import QtCommercial.Chart 1.3
\endcode
\raw HTML
\endraw
*/