ABSTRACT

The locale argument of the config() function allows one to render on-graph text using another language. Figure 30.1 shows how setting locale='ja' will render text in Japanese. Using the locale argument of the <monospace>config()</monospace> function to render on-graph text in another language. https://s3-euw1-ap-pe-df-pch-content-public-p.s3.eu-west-1.amazonaws.com/9780429447273/5aa76a70-2d8a-4f48-af74-4a299517eb99/content/fig30_1.tif" xmlns:xlink="https://www.w3.org/1999/xlink"/> today <- Sys.Date() x <- seq.Date(today, today + 360, by = "day") plot_ly(x = x, y = rnorm(length(x))) %>%   add_lines() %>%   config(locale = "ja")