-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Automatic scaling in e_bar #459
Comments
Hi, thanks, but your proposal does not solve the problem which is the large number of zeros / digits at the y-axis ticks / labels. If I manually "down scale" the values, for example by using So, what I'm looking for is an option which automatically recognizes the number of digits and scales the labels accordingly. Means: If What I found so far is that function (-> Link ):
With the help of
Now, I have a column with nicely scaled values, but they are character and I can use them only like that:
The y-axis labels stay unaffected and my problem is not solved. Ann.: So far, I helped myself by hiding the y-axis labels, but that is not what I actually want. :-) |
Hi,
given the example below:
Is there a simple way for an "automatic" scaling of the y-axis, without using something like
dplyr::mutate(value = value / 1e6)
?Background: I use
e_charts
within a shiny app with multiple filters on hierarchical data. At the top level with few filters, the values are about millions, and the y-axis labels become quite long. Scaling them using themutate
example leads to the problem, that on a low level with many filters, the values get small and are printed with a lot of decimal places.The text was updated successfully, but these errors were encountered: