##// END OF EJS Templates
Fixes missing chart area z value intialization
Michal Klocek -
r564:502de68ba0ac
parent child
Show More
@@ -1,6 +1,7
1 #include "areachartitem_p.h"
1 #include "areachartitem_p.h"
2 #include "qareaseries.h"
2 #include "qareaseries.h"
3 #include "qlineseries.h"
3 #include "qlineseries.h"
4 #include "chartpresenter_p.h"
4 #include <QPainter>
5 #include <QPainter>
5
6
6
7
@@ -14,7 +15,7 m_upper(0),
14 m_lower(0),
15 m_lower(0),
15 m_pointsVisible(false)
16 m_pointsVisible(false)
16 {
17 {
17 //m_items.setZValue(ChartPresenter::LineChartZValue);
18 setZValue(ChartPresenter::LineChartZValue);
18 m_upper = new AreaBoundItem(this,m_series->upperSeries());
19 m_upper = new AreaBoundItem(this,m_series->upperSeries());
19 if(m_series->lowerSeries()){
20 if(m_series->lowerSeries()){
20 m_lower = new AreaBoundItem(this,m_series->lowerSeries());
21 m_lower = new AreaBoundItem(this,m_series->lowerSeries());
General Comments 0
You need to be logged in to leave comments. Login now