##// END OF EJS Templates
Fix area series fill problem when component series have points visible...
Miikka Heikkinen -
r2452:7ed67b83fa6c
parent child
Show More
@@ -94,6 +94,9 public:
94 94
95 95 void updateGeometry()
96 96 {
97 // Turn off points drawing from component line chart item, as that
98 // messes up the fill for area series.
99 suppressPoints();
97 100 LineChartItem::updateGeometry();
98 101 m_item->updatePath();
99 102 }
@@ -62,6 +62,7 protected:
62 62 void mousePressEvent(QGraphicsSceneMouseEvent *event);
63 63 void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
64 64 void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
65 void suppressPoints() { m_pointsVisible = false; }
65 66
66 67 private:
67 68 QLineSeries *m_series;
General Comments 0
You need to be logged in to leave comments. Login now