##// END OF EJS Templates
Fixed a bug in dynamic creation of area series
Tero Ahola -
r2114:6cd0efe52042
parent child
Show More
@@ -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 series = new DeclarativeAreaSeries();
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