| qsplineseries.cpp |
!
\class QSplineSeries
\inmodule QtCharts
\brief 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.
\image examples_splinechart.png {Spline chart with a single smoothly
curving line that peaks, dips, and rises again}
The following code snippet illustrates how to create a basic spline chart:
\code
QSplineSeries* series = new QSplineSeries();
series->append(0, 6);
series->append(2, 4);
...
chart->addSeries(series);
\endcode
|
5195 |
- |
| qsplineseries.h |
|
780 |
- |
| qsplineseries_p.h |
|
1012 |
- |
| splinechartitem.cpp |
|
28049 |
- |
| splinechartitem_p.h |
|
2653 |
- |