The plotOptions is a wrapper object for config objects for each series type. The config objects for each series can also be overridden for each series item as given in the series array.
Arguments
- hc
A
highcharthtmlwidgetobject.- ...
Options defined in https://api.highcharts.com/highcharts/plotOptions.
Details
Configuration options for the series are given in three levels. Options
for all series in a chart are given in the plotOptions.series object.
Then options for all series of a specific type are given in the
plotOptions of that type, for example plotOptions.line. Next, options
for one single series are given in the series array.
Examples
# Keep monthly observations visible and make overlapping lines easier to follow.
highcharts_demo() |>
hc_plotOptions(
line = list(
lineWidth = 3,
marker = list(
enabled = TRUE,
radius = 4,
fillColor = "white",
lineWidth = 2
)
)
)
