Description Usage Arguments See Also Examples
Customize the y-axis components for a continuous variable in Datawrapper line, bar and column charts, as well as scatter plots.
1 | jp_scale_y_c(chart_id, limits, breaks, log = FALSE, position = "right")
|
chart_id |
A string of the Datawrapper chart ID. |
limits |
A numeric vector of length two to set the lower and upper limits of the axis. |
breaks |
A numeric vector to set the axis breaks. |
log |
Defaults to |
position |
A string to set the axis position. Defaults to |
The underlying function: dw_edit_chart
1 2 3 4 5 6 7 8 9 | ## Not run:
jp_scale_y_c(
chart_id = "abcD3",
limits = c(0, 200),
breaks = seq(0, 200, 40),
position = "left"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.