Skip to content

Support ggplot2's theme(legend.direction = "horizontal") #684

Description

@this-username-is-taken

This feature is now supported by plotly.js:

plotly/plotly.js#535

Activity

  1. cpsievert commented on Aug 15, 2016

    @cpsievert
    Collaborator

    It is supported:

    plot_ly(mtcars, x = ~mpg, y = ~disp, color = ~factor(vs)) %>% 
      layout(legend = list(orientation = "h"))

    We don't, however, have support for ggplot2::theme(legend.direction = "horizontal") yet. Changing the title to reflect this.

  2. changed the title [-]Support horizontal legend[/-] [+]Support ggplot2's theme(legend.direction = "horizontal")[/+] on Aug 15, 2016
  3. this-username-is-taken commented on Aug 15, 2016

    @this-username-is-taken
    Author

    Thanks Carson!

  4. abalter commented on Sep 12, 2016

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions