chart_layout: Create a list of layout elements on subcharts

View source: R/helper.R

chart_layoutR Documentation

Create a list of layout elements on subcharts

Description

Create a list of layout elements on subcharts

Usage

chart_layout(x, layout_element, layout_attribute)

Arguments

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.

Value

A list of layout elements.

See Also

Other development tools: GET(), convert_date(), default_dates(), fetch(), flatten(), is.date()

Examples

## 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)



cryptoQuotes documentation built on April 4, 2025, 2:33 a.m.