<div dir="ltr">Ack<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 16, 2016 at 10:24 AM, Rick Walsh <span dir="ltr"><<a href="mailto:rickmwalsh@gmail.com" target="_blank">rickmwalsh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">By drawing oversize dots for each data point, dots were overlapping such that<br>
the change in tissue presssure wasn't displayed at the right time - typically<br>
out by 1-2 minutes, depending on dive duration.<br>
<br>
Drawing a line between discrete points, the data points don't overlap and<br>
change in tissue pressure is displayed at the right time.<br>
<br>
Signed-off-by: Rick Walsh <<a href="mailto:rickmwalsh@gmail.com">rickmwalsh@gmail.com</a>><br>
---<br>
 profile-widget/<wbr>diveprofileitem.cpp | 6 +++---<br>
 1 file changed, 3 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/profile-widget/<wbr>diveprofileitem.cpp b/profile-widget/<wbr>diveprofileitem.cpp<br>
index b44586f..8961741 100644<br>
--- a/profile-widget/<wbr>diveprofileitem.cpp<br>
+++ b/profile-widget/<wbr>diveprofileitem.cpp<br>
@@ -415,15 +415,15 @@ void DivePercentageItem::paint(<wbr>QPainter *painter, const QStyleOptionGraphicsItem<br>
                return;<br>
        painter->save();<br>
        QPen mypen;<br>
+       mypen.setWidthF(vAxis-><wbr>posAtValue(0) - vAxis->posAtValue(4));<br>
        mypen.setCosmetic(false);<br>
-       mypen.setWidth(5);<br>
        QPolygonF poly = polygon();<br>
-       for (int i = 0, modelDataCount = dataModel->rowCount(); i < modelDataCount; i++) {<br>
+       for (int i = 1, modelDataCount = dataModel->rowCount(); i < modelDataCount; i++) {<br>
                if (i < poly.count()) {<br>
                        double value = dataModel->index(i, vDataColumn).data().toDouble()<wbr>;<br>
                        mypen.setBrush(QBrush(<wbr>ColorScale(value)));<br>
                        painter->setPen(mypen);<br>
-                       painter->drawPoint(poly[i]);<br>
+                       painter->drawLine(poly[i - 1], poly[i]);<br>
                }<br>
        }<br>
        painter->restore();<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.7.4<br>
<br>
______________________________<wbr>_________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.<wbr>org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-<wbr>divelog.org/cgi-bin/mailman/<wbr>listinfo/subsurface</a><br>
</font></span></blockquote></div><br></div>