@@ -59,7 +59,6 void LegendMarker::setBoundingRect(const QRectF rect) | |||||
59 | mMarkerBoundingRect = QRectF(x,y,markerSize.width(),markerSize.height()); |
|
59 | mMarkerBoundingRect = QRectF(x,y,markerSize.width(),markerSize.height()); | |
60 |
|
60 | |||
61 | mTextItem.setPos(mBoundingRect.x() + markerSize.width() + 10, y ); |
|
61 | mTextItem.setPos(mBoundingRect.x() + markerSize.width() + 10, y ); | |
62 | qDebug() << "text item bound:" << mTextItem.boundingRect(); |
|
|||
63 | } |
|
62 | } | |
64 |
|
63 | |||
65 | void LegendMarker::setBrush(const QBrush brush) |
|
64 | void LegendMarker::setBrush(const QBrush brush) |
@@ -87,7 +87,6 void XYChartItem::handlePointAdded(int index) | |||||
87 | { |
|
87 | { | |
88 | Q_ASSERT(index<m_series->count()); |
|
88 | Q_ASSERT(index<m_series->count()); | |
89 | Q_ASSERT(index>=0); |
|
89 | Q_ASSERT(index>=0); | |
90 | qDebug()<<__FUNCTION__<<index; |
|
|||
91 | QPointF point = calculateGeometryPoint(index); |
|
90 | QPointF point = calculateGeometryPoint(index); | |
92 | QVector<QPointF> points = m_points; |
|
91 | QVector<QPointF> points = m_points; | |
93 | points.insert(index,point); |
|
92 | points.insert(index,point); |
General Comments 0
You need to be logged in to leave comments.
Login now