tooltip on shiny R?

前端 未结 2 1122
-上瘾入骨i
-上瘾入骨i 2020-12-12 14:50

I want to have a tool-tip in my Shiny R application. Is there any easy way to achieve that? For now, I am creating a density map and I want a simpl

2条回答
  •  情书的邮戳
    2020-12-12 15:41

    I think you should be able to replace this:

    sliderInput("slider_year", "YEAR:", 
                min = 2001, max = 2011, value = 2009, 
                format="####", locale="us"
    )
    

    with this:

    tags$div(title="Click here to slide through years",
        sliderInput("slider_year", "YEAR:", 
                    min = 2001, max = 2011, value = 2009, 
                    format="####", locale="us"
        )
    )
    

提交回复
热议问题