125 QPainter painter(
this);
126 painter.fillRect(t_qPointTopLeft.x(), t_qPointTopLeft.y(), t_qSizePlot.width(), t_qSizePlot.height(), Qt::white);
129 painter.drawRect(t_qPointTopLeft.x() - 1, t_qPointTopLeft.y() - 1, t_qSizePlot.width() + 1, t_qSizePlot.height() + 1);
135 pen.setBrush(Qt::blue);
140 double scale_y = (t_qSizePlot.height() - (t_qSizePlot.height() * 0.1)) / (
m_dMaxY -
m_dMinY);
143 QVector<QPointF> t_qVecPointFPath;
144 QVector<QPointF>::ConstIterator it;
146 t_qVecPointFPath.append(QPointF(it->x() * scale_x, it->y() * scale_y));
149 for (it = t_qVecPointFPath.begin() + 1; it != t_qVecPointFPath.end(); ++it)
150 painter.drawLine(*(it - 1), *it);