##// 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 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 115 // Turn off points drawing from component line chart item, as that
114 116 // messes up the fill for area series.
115 117 suppressPoints();
@@ -119,6 +121,7 public:
119 121 LineChartItem::updateGeometry();
120 122 m_item->updatePath();
121 123 }
124 }
122 125
123 126 private:
124 127 AreaChartItem *m_item;
General Comments 0
You need to be logged in to leave comments. Login now