##// 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
vboxplotmodelmapper.qdocinc
18 lines | 826 B | text/plain | TextLexer
/ doc / src / vboxplotmodelmapper.qdocinc
VBoxPlotModelMapper allows you to use your own QAbstractItemModel derived model with data in columns as a data source
for any box-and-whiskers series. It is possible to use both QAbstractItemModel and box-and-whiskers series data API to
manipulate data.
VBoxPlotModelMapper keeps the series and the model in sync.
The following QML example would create a box-and-whiskers series with three box sets (assuming the
model has at least four columns). Each box set would contain data starting from row 1. The name of a set would be
defined by the horizontal header (of the column).
\code
BoxPlotSeries {
VBoxPlotModelMapper {
model: myCustomModel // QAbstractItemModel derived implementation
firstBoxSetColumn: 1
lastBoxSetColumn: 3
firstRow: 1
}
}
\endcode