Skip to contents

Retrieve zoom information in Shiny

Usage

set_input_zoom(ax, inputId, session = shiny::getDefaultReactiveDomain())

Arguments

ax

An apexchart() htmlwidget object.

inputId

The id that will be used server-side for retrieving zoom.

session

The Shiny session.

Value

An apexchart() htmlwidget object.

Note

If x-axis is of type datetime, value retrieved is of class POSIXct.

Examples

if (interactive()) {

  run_demo_input("zoom")

}