Description Usage Arguments Examples
Add x axis title
1 2 | xtitle_ist(p, title = "", textAnchor = "middle", flipTitle = FALSE,
offsetx = 0, offsety = 0)
|
p |
a chartist object. |
title |
axis title. |
textAnchor |
title position, defaults to |
flipTitle |
set to |
offsetx |
offset x aligment of title. |
offsety |
offsety y alignment of title. |
1 2 3 4 | mtcars %>%
chart_ist(disp) %>%
add_ist(values = hp) %>%
xtitle_ist(title = "HP", offsety = 30)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.