powered by
Initialise a chart.
e_charts(data, x, width = NULL, height = NULL, elementId = NULL, dispose = TRUE, ...)e_chart(data, x, width = NULL, height = NULL, elementId = NULL, dispose = TRUE, ...)e_data(e, data, x)
e_chart(data, x, width = NULL, height = NULL, elementId = NULL, dispose = TRUE, ...)
e_data(e, data, x)
A data.frame.
data.frame
Column name containing x axis.
Must be a valid CSS unit (like '100%', '400px', 'auto') or a number, which will be coerced to a string and have 'px' appended.
'100%'
'400px'
'auto'
'px'
Id of element.
Set to TRUE to force redraw of chart, set to FALSE to update.
TRUE
FALSE
Any other argument.
An object of class echarts4r as returned by e_charts.
echarts4r
e_charts
# NOT RUN { USArrests %>% dplyr::mutate( state = row.names(.) ) %>% e_charts(state) %>% e_line(Rape) # }
Run the code above in your browser using DataLab