Description Usage Arguments Value Examples
Adjust chart settings
1 2 3 | chart_settings(d3rain, toolTipTextColor = "white",
backgroundFill = "white", fontSize = 18, fontFamily = "sans-serif",
yAxisTickLocation = "center")
|
d3rain |
An object of class d3rain |
toolTipTextColor |
Color of tooltip text |
backgroundFill |
Background color of SVG |
fontSize |
Font size |
fontFamily |
Font family, e.g. 'times', 'sans-serif' |
yAxisTickLocation |
Location of y-axis ticks, either 'center', 'left', or 'right' |
d3rain
1 2 3 4 5 | mtcars$cyl <- factor(mtcars$cyl)
mtcars$car <- rownames(mtcars)
d3rain(mtcars, mpg, cyl, car) %>%
drip_settings(ease = 'linear', jitterWidth = 25, dripSpeed = 500) %>%
chart_settings(fontFamily = 'times', yAxisTickLocation = 'left')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.