Area bands
Add area bands
e_band2(e, lower, upper, ...) e_band2_( e, lower, upper, name = NULL, legend = TRUE, y_index = 0, x_index = 0, coord_system = "cartesian2d", itemStyle = list(borderWidth = 0.5), ... )
e |
An |
lower, upper |
series of lower and upper borders of the band |
... |
additional options |
name |
name of the serie. |
legend |
Whether to add serie to legend. |
y_index |
Indexes of x and y axis. |
x_index |
Indexes of x and y axis. |
coord_system |
Coordinate system to plot against. |
itemStyle |
mostly used for borderWidth, default 0.5 |
data(EuStockMarkets) as.data.frame(EuStockMarkets) %>% dplyr::slice_head(n = 200) %>% dplyr::mutate(day = 1:dplyr::n()) %>% e_charts(day) %>% e_line(CAC, symbol = "none") %>% e_band2(DAX, FTSE, color = "lemonchiffon") %>% e_band2(DAX, SMI, color = "lightblue", itemStyle = list(borderWidth = 0)) %>% e_y_axis(scale = TRUE) %>% e_datazoom(start = 50)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.