chart_layout | R Documentation |
Create a list of layout elements on subcharts
chart_layout(x, layout_element, layout_attribute)
x |
integer-vector of length 1. |
layout_element |
character-vector of length 1. plotly::layout elements. See example. |
layout_attribute |
character-vector of length 1. plotly::layout element value. See example. |
A list of layout elements.
Other development tools:
GET()
,
convert_date()
,
default_dates()
,
fetch()
,
flatten()
,
is.date()
## Not run:
chart_layout(
x = 1:plot_list_length,
layout_element = "yaxis",
layout_attribute = list(
gridcolor = if (dark) "#40454c" else '#D3D3D3' # Was CCCCCC
)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.