diff --git a/Graphs/gSummaryChart.cpp b/Graphs/gSummaryChart.cpp index 810f5ac4..6c444a74 100644 --- a/Graphs/gSummaryChart.cpp +++ b/Graphs/gSummaryChart.cpp @@ -470,7 +470,7 @@ void SummaryChart::paint(gGraph & w,int left, int top, int width, int height) int x,y; for (int j=0;j0) { + if ((m_type[j]==ST_MIN) || (m_type[j]==ST_MAX)) { + f=totalvalues[j]; + } else { + f=totalvalues[j]/totalcounts[j]; + } } if (m_type[j]==ST_HOURS) { int h=f; @@ -649,7 +651,7 @@ bool SummaryChart::mouseMoveEvent(QMouseEvent *event) } else { QString a; for (int i=0;i