Description Usage Arguments Examples
View source: R/highcharts-api.R
The navigator is a small series below the main series, displaying a view of the entire data set. It provides tools to zoom in and out on parts of the data as well as panning across the dataset.
1 | hc_navigator(hc, ...)
|
hc |
A |
... |
Arguments defined in https://api.highcharts.com/highstock/navigator. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | highchart(type = "stock") %>%
hc_add_series(AirPassengers) %>%
hc_rangeSelector(selected = 4) %>%
hc_navigator(
outlineColor = "gray",
outlineWidth = 2,
series = list(
color = "red",
lineWidth = 2,
type = "areaspline", # you can change the type
fillColor = "rgba(255, 0, 0, 0.2)"
),
handles = list(
backgroundColor = "yellow",
borderColor = "red"
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.