##// END OF EJS Templates
Check that areaseries is actually in chart before trying to update....
Miikka Heikkinen -
r2800:891ed0097501
parent child
Show More
@@ -110,6 +110,8 public:
110
110
111 void updateGeometry()
111 void updateGeometry()
112 {
112 {
113 // Make sure the series is in a chart before trying to update
114 if (m_item->series()->chart()) {
113 // Turn off points drawing from component line chart item, as that
115 // Turn off points drawing from component line chart item, as that
114 // messes up the fill for area series.
116 // messes up the fill for area series.
115 suppressPoints();
117 suppressPoints();
@@ -119,6 +121,7 public:
119 LineChartItem::updateGeometry();
121 LineChartItem::updateGeometry();
120 m_item->updatePath();
122 m_item->updatePath();
121 }
123 }
124 }
122
125
123 private:
126 private:
124 AreaChartItem *m_item;
127 AreaChartItem *m_item;
General Comments 0
You need to be logged in to leave comments. Login now