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

how to change font color in Rcharts Rshiny #9

Open
czqiu opened this issue May 6, 2016 · 0 comments
Open

how to change font color in Rcharts Rshiny #9

czqiu opened this issue May 6, 2016 · 0 comments

Comments

@czqiu
Copy link

czqiu commented May 6, 2016

Hello,
I am trying to make different color for chart legend created by Rcharts in Rshiny. For example: I want to make chart legend font and label font in yellow color text instead of the black color text (because I customized my panel in dark grey. The default black color of the font from Rchart makes any font hard to tell). But I could not find how to do it. Any help will be greatly appreciated!

hair_eye = as.data.frame(HairEyeColor) p2 <- nPlot(Freq ~ Hair, group = 'Eye', data = subset(hair_eye, Sex == "Female"), type = 'multiBarChart' ) p2$chart(color = c('brown', 'blue', '#594c26', 'green')) p2 p2$chart(showLegend=TRUE) p4$chart(labelType="value")

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

1 participant