Skip to content
Permalink
Browse files

Diagram width was not correctly calculated

  • Loading branch information
m-kuhn committed Aug 10, 2012
1 parent 234f2f0 commit 313163d8a85e7497afc7b7eff3e20818dec04df7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/diagram/qgshistogramdiagram.cpp
@@ -39,7 +39,7 @@ QSizeF QgsHistogramDiagram::diagramSize( const QgsAttributeMap& attributes, cons

double maxValue = attIt.value().toDouble();

for ( ; attIt != attributes.constEnd(); ++attIt )
for ( ++attIt; attIt != attributes.constEnd(); ++attIt )
{
maxValue = qMax( attIt.value().toDouble(), maxValue );
}

0 comments on commit 313163d

Please sign in to comment.
You can’t perform that action at this time.