QSplineSeries Class
The QSplineSeries class presents data as spline charts. 更多...
头文件: | #include <QSplineSeries> |
Instantiated By: | SplineSeries |
基类: | QLineSeries |
公有函数
QSplineSeries(QObject *parent = Q_NULLPTR) | |
~QSplineSeries() |
重新实现的公有函数
virtual QAbstractSeries::SeriesType | type() const |
- 1 个公有函数继承自 QLineSeries
- 39 个公有函数继承自 QXYSeries
- 15 个公有函数继承自 QAbstractSeries
- 32 个公有函数继承自 QObject
其他继承的成员
- 7 个属性继承自 QXYSeries
- 5 个属性继承自 QAbstractSeries
- 1 个属性继承自 QObject
- 1 个公有槽函数继承自 QObject
- 17 个信号继承自 QXYSeries
- 4 个信号继承自 QAbstractSeries
- 2 个信号继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
The QSplineSeries class presents data as spline charts.
A spline series stores the data points and the segment control points needed by QPainterPath to draw a spline. The control points are automatically calculated when the data changes. The algorithm computes the points so that the normal spline can be drawn.
The following code snippet illustrates how to create a basic spline chart:
QSplineSeries* series = new QSplineSeries(); series->append(0, 6); series->append(2, 4); ... chart->addSeries(series);
成员函数
QSplineSeries::QSplineSeries(QObject *parent = Q_NULLPTR)
Constructs an empty series object that is a child of parent. When the series object is added to a QChart instance, the ownerships is transferred.
QSplineSeries::~QSplineSeries()
Deletes the spline series.
[virtual]
QAbstractSeries::SeriesType QSplineSeries::type() const
Reimplemented from QAbstractSeries::type().