Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
revert bad patch (placement)
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/core/qgsdiagram.cpp
|
@@ -293,8 +293,8 @@ void QgsPieDiagram::renderDiagram( const QgsAttributeMap& att, QgsRenderContext& |
|
|
double w = spu.width(); |
|
|
double h = spu.height(); |
|
|
|
|
|
double baseX = position.x() - w / 2; |
|
|
double baseY = position.y() - h / 2; |
|
|
double baseX = position.x(); |
|
|
double baseY = position.y() - h; |
|
|
|
|
|
mPen.setColor( s.penColor ); |
|
|
setPenWidth( mPen, s, c ); |
|
|