From d2a386143c27f9e4fab8d77d9e39c32cb1bf22c8 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Mon, 19 Sep 2011 01:52:05 +1000 Subject: [PATCH] Added slight vertical offset to multi-line Summary charts --- Graphs/gSummaryChart.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Graphs/gSummaryChart.cpp b/Graphs/gSummaryChart.cpp index 68e407cb..c1d71161 100644 --- a/Graphs/gSummaryChart.cpp +++ b/Graphs/gSummaryChart.cpp @@ -290,6 +290,7 @@ void SummaryChart::paint(gGraph & w,int left, int top, int width, int height) col.setAlpha(128); short px2=px+barw; short py2=top+height-1-h; + py2+=j; if (lastdaygood) { lines->add(lastX[j],lastY[j],px,py2,m_colors[j]); lines->add(px,py2,px2,py2,col);