Changeset 1962 in ntrip


Ignore:
Timestamp:
Nov 15, 2009, 4:42:38 PM (14 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncfigure.cpp

    r1961 r1962  
    138138  float xLine = .60;
    139139
    140 
    141140  QPainter painter(this);
    142141
     
    178177    QByteArray staID = it.key();
    179178
    180     int xx = xMin+70+anchor*15;
     179    int xx = xMin+70+anchor*12;
    181180    int yy = int(yLength * (it.value()->_mean / _maxRate));
    182181
    183182    painter.save();
    184     painter.translate(xx, yMax);
     183    painter.translate(xx-5, yMax);
    185184    painter.rotate(-90);
    186185    painter.drawText(0, 0, staID.left(5));
     
    189188    if(_maxRate > 0.0) {
    190189      QColor color = QColor::fromRgb(_rgb[0][anchor],_rgb[1][anchor],_rgb[2][anchor]);
    191       painter.fillRect(xx-10, int((yMax-yMin)*xLine)-yy, 10, yy,
     190      painter.fillRect(xx-13, int((yMax-yMin)*xLine)-yy, 9, yy,
    192191                       QBrush(color,Qt::SolidPattern));
    193192    }
Note: See TracChangeset for help on using the changeset viewer.