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

Space for long tick labels #2

Closed
ekleins opened this issue Jun 25, 2015 · 1 comment
Closed

Space for long tick labels #2

ekleins opened this issue Jun 25, 2015 · 1 comment

Comments

@ekleins
Copy link

ekleins commented Jun 25, 2015

Hi,

I have an horizontal barchart with quite long tick labels (>20 characters). It is possible to adjust the space allowed for the tick labels so it can show them in its full length? See the example at
http://diodon.cbm.usb.ve/~eklein/kk/resumenes3_dimple.html

Saludos, EKS

@bart6114
Copy link
Owner

Hi @ekleins,

The boundsX parameter should be able to fix this for you. Have look at the example below.

library(dimple)
library(dplyr)

sales2 <-
  sales %>%
  mutate(Owner = ifelse(Owner == "Rekall", "Rekall - with a very long label", as.character(Owner)))


dimple(sales2,
       xCategory=c("Channel", "Price.Tier"),
       yCategory="Owner",
       series="Price.Tier",
       legend=TRUE,
       boundsX = 200)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants