##// END OF EJS Templates
Scatter series marker visuals
Tero Ahola -
r228:d02101a951c6
parent child
Show More
@@ -70,7 +70,7 void ScatterPresenter::paint(QPainter *painter, const QStyleOptionGraphicsItem *
70 70 case QScatterSeries::MarkerShapeRectangle:
71 71 painter->drawRect(m_scenex.at(i), m_sceney.at(i), 9, 9);
72 72 break;
73 case QScatterSeries::MarkerShapeTiltedRectangle: {
73 case QScatterSeries::MarkerShapeTiltedRectangle:
74 74 // TODO:
75 75 static const QPointF points[4] = {
76 76 QPointF(-1.0 + m_scenex.at(i), 0.0 + m_sceney.at(i)),
@@ -79,7 +79,6 void ScatterPresenter::paint(QPainter *painter, const QStyleOptionGraphicsItem *
79 79 QPointF(0.0 + m_scenex.at(i), -1.0 + m_sceney.at(i))
80 80 };
81 81 painter->drawPolygon(points, 4);
82 }
83 82 break;
84 83 default:
85 84 // TODO: implement the rest of the shapes
General Comments 0
You need to be logged in to leave comments. Login now