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,260 points
4,181 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
1 answer

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

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

answered Apr 20, 2018 in Data Analytics by zombie
• 3,750 points
4,541 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,750 points
2,436 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,630 points
181 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,820 points
919 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 28, 2018 in Data Analytics by Maverick
• 10,820 points
682 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
1,486 views
+1 vote
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
• 32,490 points
865 views