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
Gauge Chart fill #44
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Im having issues with the color fill of reactablefmtr::gauge_chart using the following R code.
HIT.Accels = colDef(name = "HIT Accels",
align = "center",
maxWidth = 55,
aggregate = "mean", format = colFormat(digits = 0),
cell = reactablefmtr::gauge_chart(
data = .,
fill_color = c("#DB7911A5", "#DB934691","white", "#4CBBC7A1", "#00AFBFA1"),
background = "white",
show_min_max = TRUE,
number_fmt = scales::comma,
bold_text = TRUE,
opacity = 0.5
),
footer = function(values) sprintf("%.1f", mean(values))
),
The above causes the fill colors of the gauge to "spill out" toward the upper edges of each cell (picture below).
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: