Change font size of valueBox - shiny R

+1 vote
How do I reduce the font size of texts in valueBox?
Dec 4, 2018 in Data Analytics by Ali
• 11,360 points
9,253 views

1 answer to this question.

0 votes

Try writing your valueBox with this syntax:

valueBox(
    value = tags$p("100", style = "font-size: 200%;"),
    subtitle = tags$p("Blah blah blah", style = "font-size: 200%;"),
    icon = icon("car fa-2x")
  ),
answered Dec 4, 2018 by Haseeb
when the input is from a dataframe ?

Hey, @There,

Are you trying to change the font size according to your data frame?  Please try to elaborate your query, it will be helpful for us to resolve the issue.

Related Questions In Data Analytics

0 votes
4 answers

How to change font size of text and axes on R plots ?

To change the font size of text ...READ MORE

answered Dec 16, 2020 in Data Analytics by Gitika
• 65,770 points
122,283 views
0 votes
1 answer

How can I change font size and direction of axes text in ggplot2 ?

You can try theme(): Library(ggplot2) a <- data.frame(x=gl(10, 1, ...READ MORE

answered May 30, 2018 in Data Analytics by zombie
• 3,790 points
4,341 views
0 votes
1 answer
0 votes
1 answer

How can I control the size of points in an R scatterplot?

plot(variable, type='o' , pch=5, cex=.3) The pch argument ...READ MORE

answered May 3, 2018 in Data Analytics by shams
• 3,670 points
1,274 views
+1 vote
1 answer

Error saying "could not find function "shinyUI"" in shiny R

Its a small spelling mistake that you've ...READ MORE

answered Nov 28, 2018 in Data Analytics by Maverick
• 10,840 points
2,624 views
+1 vote
1 answer

Error saying "could not find function dashboardPage" in shiny R

Include this line in the code: Library(shinydashboard) READ MORE

answered Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
3,655 views
0 votes
1 answer

How to reduce the height of valueBox in shiny R?

Add this line before using your vlaueBoxes tags$head(tags$style(HTML(".small-box ...READ MORE

answered Dec 4, 2018 in Data Analytics by Haseeb
4,029 views
+2 votes
2 answers

Change data type of one column in R

You can change data types using as.* ...READ MORE

answered Aug 16, 2019 in Data Analytics by anonymous
• 33,030 points
121,750 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP