@@ -587,9 +587,12 QAbstractSeries *DeclarativeChart::createSeries(DeclarativeChart::SeriesType typ | |||
|
587 | 587 | case DeclarativeChart::SeriesTypeLine: |
|
588 | 588 | series = new DeclarativeLineSeries(); |
|
589 | 589 | break; |
|
590 | case DeclarativeChart::SeriesTypeArea: | |
|
591 |
|
|
|
590 | case DeclarativeChart::SeriesTypeArea: { | |
|
591 | DeclarativeAreaSeries *area = new DeclarativeAreaSeries(); | |
|
592 | area->setUpperSeries(new DeclarativeLineSeries()); | |
|
593 | series = area; | |
|
592 | 594 | break; |
|
595 | } | |
|
593 | 596 | case DeclarativeChart::SeriesTypeStackedBar: |
|
594 | 597 | series = new DeclarativeStackedBarSeries(); |
|
595 | 598 | break; |
General Comments 0
You need to be logged in to leave comments.
Login now