We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 00861ef + 87ae04f commit 5d7a662Copy full SHA for 5d7a662
1 file changed
inst/app/server/graph-output.R
@@ -53,8 +53,8 @@ plotInput <- reactive({
53
caption = stringi::stri_unescape_unicode(input$plotCaption)
54
) +
55
ggplot2::theme(
56
- plot.title = ggplot2::element_text(size = input$title.textsize, hjust = input$title.position),
57
- plot.caption = ggplot2::element_text(size = input$caption.textsize, hjust = input$caption.position)
+ plot.title = ggplot2::element_text(size = input$title.textsize, hjust = as.numeric(input$title.position)),
+ plot.caption = ggplot2::element_text(size = input$caption.textsize, hjust = as.numeric(input$caption.position))
58
)
59
})
60
0 commit comments