plotly tracesIt is used by registering in a shiny application.
It receives events in plotly figure and update it using a method of
a downsampler instance.
See the examples in downsampler class.
updatePlotlyH(
session,
outputId,
relayout_order,
ds_obj,
reset = FALSE,
reload = FALSE,
verbose = FALSE
)session object.
The object passed to function given to shinyServer.
Character.
The outputId of the figure, whose data will be down-sampled
Named list.
The list generated by plotlyjs_relayout,
which is obtained using plotly::event_data.
downsampler instance.
The instance containing original data of the figure,
which is also used for updating the traces of plotly.
Boolean.
It it is TRUE, the figure will be updated even if
relayout_order is NULL.
The ranges of x axes are reset (initialized).
Boolean.
It it is TRUE, the figure will be updated even if
relayout_order is NULL.
The ranges of x axes are preserved.
Boolean.
Whether detailed messages to check the procedures are shown. By default, FALSE.