Thursday, 22 January 2015

QGIS map composer changing legend position when exporting atlas as images


I am having an issue when exporting atlas map series to image. In each map the position of the legend is jumping around by a few cm. I have the position referenced under item properties to the bottom right corner which I thought would mean the legend expands and contracts upward and left as the legend contents change between maps. Instead the whole legend seems to move around sometimes covering up other information.



Is this a known bug?



Answer



You can fix the position by copying the X and Y values without the mm under the tab Position and size and paste them by clicking on Data Defined Override and go to paste as you can see below or go to Edit and paste the number only there:


enter image description here


After pasting the number, it should be marked in yellow color


enter image description here


Do this process for both X and Y which will fix the position of the legend.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...