Skip to content

Make ggplotly() work better anytime layout.axisid.ticktext is supplied #600

@talgalili

Description

@talgalili

This affects issue #599 .

Minimal example:

library(ggplot2)
data(diamonds)
diamonds$cut <- paste("Super Dee-Duper extra long",as.character(diamonds$cut))
p <- qplot(cut,carat,data=diamonds,geom="boxplot") + 
  theme(axis.text.x = element_text(angle = 90, hjust = 1))
p

image

library(plotly)
ggplotly(p) # right most label is cut

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions