| qcustomseries.cpp |
!
\class QCustomSeries
\inmodule QtGraphs
\brief The QCustomSeries class allows presenting customized graph types.
\since 6.11
Use QCustomSeries to create customized graphs. Think of it as a scatter graph
that lets you access custom data for each element.
QCustomSeries defines a delegate that is used to render every item added to
the graph. Each item includes user-defined data stored in a \l QVariantMap.
Index of the item in the graph is also automatically added to the data map.
The series passes this map to each element created based on the delegate.
The delegate determines how to use the data.
To map data to the render coordinates defined by the \c QGraphsView axes,
use the \l mapX and \l mapY functions.
\note Currently, individual elements in a custom series do not share
information with one another. For this reason, you can't implement a custom
line series.
|
11966 |
- |
| qcustomseries.h |
|
1937 |
- |
| qcustomseries_p.h |
|
1137 |
- |
| qcustomseriesdata.cpp |
|
768 |
- |
| qcustomseriesdata_p.h |
|
991 |
- |