powered by
Zoom on a region.
e_zoom(e, ..., btn = NULL)
An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.
echarts4r
e_charts
echarts4rProxy
Any options, see official documentation
A e_button id.
e_button
cars |> e_charts(dist) |> e_scatter(speed) |> e_datazoom() |> e_zoom( dataZoomIndex = 0, start = 20, end = 40, btn = "BUTTON" ) |> e_button("BUTTON", "Zoom in")
Run the code above in your browser using DataLab