hc_loading: Loading options for highcharter objects

View source: R/highcharts-api.R

hc_loadingR Documentation

Loading options for highcharter objects

Description

The loading options control the appearance of the loading screen that covers the plot area on chart operations. This screen only appears after an explicit call to chart.showLoading(). It is a utility for developers to communicate to the end user that something is going on, for example while retrieving new data via an XHR connection. The "Loading..." text itself is not part of this configuration object, but part of the lang object.

Usage

hc_loading(hc, ...)

Arguments

hc

A highchart htmlwidget object.

...

Arguments defined in https://api.highcharts.com/highcharts/loading.

Examples


highcharts_demo() |> 
  hc_loading(
    hideDuration = 1000,
    showDuration = 1000
  )


jbkunst/highcharter documentation built on March 14, 2024, 12:52 a.m.