##// END OF EJS Templates
Fix Charts documentation...
Fix Charts documentation The documentation structure is changed so that it can be generated with both Qt5 and Qt4. Also the erroneous VBarModelMapper is removed from VBoxPlotModelMapper documentation. Task-number: QTRD-2492, QTRD-2495 Change-Id: I45028915ca55f6ff1170db58518a8f08ac4158fb Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>

File last commit:

r2639:2ce3423968b5
r2639:2ce3423968b5
Show More
legend.qdocinc
17 lines | 716 B | text/plain | TextLexer
\brief Legend is part of Qt Chart QML API.
Legend is a graphical object, whics displays legend of the chart. Legend state is updated by ChartView, when
series have been changed. Legend is used via ChartView class. For example:
\code
ChartView {
legend.visible: true
legend.alignment: Qt.AlignBottom
// Add a few series...
}
\endcode
\image examples_percentbarchart_legend.png
Please note that there is no QML API available for modifying legend markers, unlike in the Qt API of Charts.
The use case of modifying markers can be implemented for example by creating your own custom legend. For an example
on how to do this, see \l {demos/qmlcustomlegend}{Qml Custom Demo} application.