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

all numberic value are rounded to a fix digit using ggplotly() #834

Closed
laoyang945 opened this issue Dec 20, 2016 · 0 comments
Closed

all numberic value are rounded to a fix digit using ggplotly() #834

laoyang945 opened this issue Dec 20, 2016 · 0 comments

Comments

@laoyang945
Copy link

in Line 48 of layers2traces.R, in processing all all numeric variables are rounded to 2 digits. so the hover text for small value/closed value are non-informative.
It's desired to adjust the rounded digits in different applications.

example
df <- data.frame(x=runif(100)/1000,y=runif(100)/1000)
p <- ggplot(df,aes(x,y)) + geom_point()
ggplotly(p)

@cpsievert cpsievert added this to the v3.6.0 milestone Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants