Skip to content

Add feature to give legend items row/column locations to appear.  #6026

Closed

Description

In situations when we are plotting factors with (in this case points) different types of categories, we would like to be able to have more control on how things appear in the legend. Whilst you can give ggplot the number of rows and columns to use for the legend you cannot (as far as I can find) give it the row/column locations of the factors which would allow you to have empty spaces in the legend like this:

image

I tried to look at the legend source code to suggest a potential implementation but could not work out exactly where the rows and columns are implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions