Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data defined override into legend items automatically #28088

Closed
qgib opened this issue Oct 30, 2018 · 7 comments
Closed

Data defined override into legend items automatically #28088

qgib opened this issue Oct 30, 2018 · 7 comments
Labels
Feature Request Feedback Waiting on the submitter for answers Map and Legend Related to map or legend rendering

Comments

@qgib
Copy link
Contributor

qgib commented Oct 30, 2018

Author Name: Patrick Harvey (Patrick Harvey)
Original Redmine Issue: 20267

Redmine category:map_legend


I have been using QGIS for a while now and I am trying to display 2 sets of data at a point. Manipulating size and colour are the logical choices for me and I have used data defined override. The GIS displays this fine in the main data window, and on the print layout, however, when I create my legend there is no data defined override for the colour or the size in the legened.

Is there a way to do this or is this not yet a feature?

If it is not a feature then when will it become one?

Kind regards,

Pat.

@qgib
Copy link
Contributor Author

qgib commented Oct 30, 2018

Author Name: Giovanni Manghi (@gioman)


duplicate/similar to this #19761 ?


  • category_id was changed from Attribute table to Map Legend
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Nov 1, 2018

Author Name: Patrick Harvey (Patrick Harvey)


Thanks for that!! I still took me a bit to work it out with the info they had there and there are some very specific things you need to set to get it to display properly, but I got there. I may look at putting it in the user manual at some point in the near future to help others.

@qgib
Copy link
Contributor Author

qgib commented Nov 1, 2018

Author Name: Giovanni Manghi (@gioman)


Patrick Harvey wrote:

Thanks for that!! I still took me a bit to work it out with the info they had there and there are some very specific things you need to set to get it to display properly, but I got there. I may look at putting it in the user manual at some point in the near future to help others.

did you find the solution to your problem in that ticket? if yes can you explain please?

@qgib
Copy link
Contributor Author

qgib commented Nov 4, 2018

Author Name: Patrick Harvey (Patrick Harvey)


It is a little more complicated than just looking at that ticket.

It gave me a few key words that I searched online. I realised that I was using the wrong kind of categorisation. I was using a simple marker where I needed to be using a graduated symbol (or one that allowed me to make a data defined legend) with colour to define one of my fields (in my case gold) and then I needed to data define the override on the size of the marker (arsenic). This then gave me the option of a data defined legend. I also had to set the default size of my marker in the data defined size override to greater than 0 otherwise it did not show on the legend.

If you need more detail I would be happy to help out. If it is needed I can write this into the user manual so that other people can use it too.

@qgib
Copy link
Contributor Author

qgib commented Nov 4, 2018

Author Name: Harrissou Santanna (@DelazJ)


Maybe I don't understand well your initial report but based on your last feedback, maybe you were in need of something like https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/vector_properties.html#proportional-symbol-and-multivariate-analysis? which is a bit different from the other thread.

If it is needed I can write this into the user manual so that other people can use it too.

Yes please! Help improve the manual with anything that can be valuable for users.

@qgib
Copy link
Contributor Author

qgib commented Nov 5, 2018

Author Name: Patrick Harvey (Patrick Harvey)


Yes that is exactly what I needed. I will still look at writing it into the user manual in a clear and simple manner.

@qgib qgib added Feedback Waiting on the submitter for answers Feature Request Map and Legend Related to map or legend rendering labels May 25, 2019
@DelazJ
Copy link
Contributor

DelazJ commented Jan 9, 2020

@gioman maybe could we close this one? I don't remember whether we got the fix in the docs but there seems to be no issue in the application, anyway.

@gioman gioman closed this as completed Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Feedback Waiting on the submitter for answers Map and Legend Related to map or legend rendering
Projects
None yet
Development

No branches or pull requests

3 participants