| qbarmodelmapper.cpp |
!
\class QBarModelMapper
\inmodule QtGraphs
\ingroup graphs_2D
\brief The QBarModelMapper class is a model mapper for bar series.
Model mappers enable using a data model derived from the QAbstractItemModel class
as a data source for a graph. A model mapper is used to create a connection
between a data model and QBarSeries.
Both model and bar series properties can be used to manipulate the data. The model mapper
keeps the bar series and the data model in sync.
The model mapper ensures that all the bar sets in the bar series have equal sizes.
Therefore, adding or removing a value from a bar set causes the same change to be
made in all the bar sets in the bar series.
|
36476 |
- |
| qbarmodelmapper.h |
|
2648 |
- |
| qbarmodelmapper_p.h |
|
3051 |
- |
| qbarseries.cpp |
!
\class QBarSeries
\inmodule QtGraphs
\ingroup graphs_2D
\brief The QBarSeries class presents data in bar graphs.
This class draws data by default as a series of bars grouped by category,
with one bar per category from each bar set added to the series.
It also supports horizontal bars and grouping bars as stacked.
A bar series needs the GraphsView x-axis to be set to a BarCategoryAxis and
the y-axis set to ValueAxis.
\sa QBarSet, QAbstractSeries
|
44588 |
- |
| qbarseries.h |
|
6076 |
- |
| qbarseries_p.h |
|
2302 |
- |
| qbarset.cpp |
!
\class QBarSet
\inmodule QtGraphs
\ingroup graphs_2D
\brief The QBarSet class represents one set of bars in a bar graph.
A bar set contains one data value for each category. The first value of a set is assumed to
belong to the first category, the second one to the second category, and so on. If the set has
fewer values than there are categories, the missing values are assumed to be located at the end
of the set. For missing values in the middle of a set, the numerical value of zero is used.
Labels for zero value sets are not shown.
\sa QBarSeries
|
28924 |
- |
| qbarset.h |
|
4000 |
- |
| qbarset_p.h |
|
2178 |
- |