##// 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 void updateGeometry()
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 LineChartItem::updateGeometry();
100 LineChartItem::updateGeometry();
98 m_item->updatePath();
101 m_item->updatePath();
99 }
102 }
@@ -62,6 +62,7 protected:
62 void mousePressEvent(QGraphicsSceneMouseEvent *event);
62 void mousePressEvent(QGraphicsSceneMouseEvent *event);
63 void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
63 void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
64 void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
64 void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
65 void suppressPoints() { m_pointsVisible = false; }
65
66
66 private:
67 private:
67 QLineSeries *m_series;
68 QLineSeries *m_series;
General Comments 0
You need to be logged in to leave comments. Login now