@@ -284,19 +284,6 void tst_ChartDataSet::attachAxis_data() | |||||
284 | QTest::addColumn<QAbstractAxis*>("attachAxis"); |
|
284 | QTest::addColumn<QAbstractAxis*>("attachAxis"); | |
285 | QTest::addColumn<bool>("success"); |
|
285 | QTest::addColumn<bool>("success"); | |
286 |
|
286 | |||
287 | //QAbstractSeries* area = new QAreaSeries(static_cast<QLineSeries*>(line)); |
|
|||
288 | QAbstractSeries* scatter = new QScatterSeries(this); |
|
|||
289 | QAbstractSeries* spline = new QSplineSeries(this); |
|
|||
290 | QAbstractSeries* pie = new QPieSeries(this); |
|
|||
291 | QAbstractSeries* bar = new QBarSeries(this); |
|
|||
292 | QAbstractSeries* percent = new QPercentBarSeries(this); |
|
|||
293 | QAbstractSeries* stacked = new QStackedBarSeries(this); |
|
|||
294 |
|
||||
295 | QAbstractAxis* category = new QCategoryAxis(this); |
|
|||
296 | QAbstractAxis* barcategory = new QBarCategoryAxis(this); |
|
|||
297 | #ifndef Q_WS_QWS |
|
|||
298 | QAbstractAxis* datetime = new QDateTimeAxis(this); |
|
|||
299 | #endif |
|
|||
300 | { |
|
287 | { | |
301 | QList<QAbstractSeries*> series; |
|
288 | QList<QAbstractSeries*> series; | |
302 | QList<QAbstractAxis*> axes; |
|
289 | QList<QAbstractAxis*> axes; |
@@ -24,6 +24,7 | |||||
24 | #include "model.h" |
|
24 | #include "model.h" | |
25 | #include <QtCore/QList> |
|
25 | #include <QtCore/QList> | |
26 | #include <QtCore/QString> |
|
26 | #include <QtCore/QString> | |
|
27 | #include <QtCore/QSharedPointer> | |||
27 | #include <QtCharts/QChartGlobal> |
|
28 | #include <QtCharts/QChartGlobal> | |
28 |
|
29 | |||
29 | QT_CHARTS_BEGIN_NAMESPACE |
|
30 | QT_CHARTS_BEGIN_NAMESPACE |
General Comments 0
You need to be logged in to leave comments.
Login now