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