config: Set the default configuration for plotly

Description Usage Arguments Author(s) Examples

View source: R/layout.R

Description

Set the default configuration for plotly

Usage

1
config(p, ..., locale = NULL)

Arguments

p

a plotly object

...

these arguments are documented at https://github.com/plotly/plotly.js/blob/master/src/plot_api/plot_config.js

locale

locale to use. See here for more info.

Author(s)

Carson Sievert

Examples

1
2
3
4
5
6
7
8
# japanese
config(p, locale = "ja")
# german
config(p, locale = "de")
# spanish
config(p, locale = "es")
# chinese
config(p, locale = "zh-CN")

trafficonese/plotly_mini documentation built on Sept. 14, 2019, 9:51 p.m.