@@ -888,7 +888,9 QAbstractSeries *DeclarativeChart::createSeries(int type, QString name, QAbstrac | |||
|
888 | 888 | break; |
|
889 | 889 | case DeclarativeChart::SeriesTypeArea: { |
|
890 | 890 | DeclarativeAreaSeries *area = new DeclarativeAreaSeries(); |
|
891 |
|
|
|
891 | DeclarativeLineSeries *line = new DeclarativeLineSeries(); | |
|
892 | line->setParent(area); | |
|
893 | area->setUpperSeries(line); | |
|
892 | 894 | series = area; |
|
893 | 895 | break; |
|
894 | 896 | } |
General Comments 0
You need to be logged in to leave comments.
Login now