Skip to content

support for sec_axis #1051

Open
Open
@bowerth

Description

@bowerth

Is there a chance that the sec.axis argument of y-scales will be supported? Unfortunately, the right-hand y-axis does not appear in the ggplotly() output

p <- ggplot(mtcars, aes(cyl, mpg)) +
  geom_point()
## Create a simple secondary axis
p2 <- p + scale_y_continuous(sec.axis = sec_axis(~.+10))
ggplotly(p2)

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