ax_markers | R Documentation |
Markers properties
ax_markers(
ax,
size = NULL,
colors = NULL,
strokeColor = NULL,
strokeWidth = NULL,
strokeOpacity = NULL,
fillOpacity = NULL,
shape = NULL,
radius = NULL,
offsetX = NULL,
offsetY = NULL,
hover = NULL,
...
)
ax |
An |
size |
Numeric. Size of the marker point. |
colors |
Sets the fill color(s) of the marker point. |
strokeColor |
Stroke Color of the marker. |
strokeWidth |
Stroke Size of the marker. |
strokeOpacity |
Opacity of the border around marker. |
fillOpacity |
Opacity of the marker fill color. |
shape |
Shape of the marker. Available Options for shape: |
radius |
Numeric. Radius of the marker (applies to square shape) |
offsetX |
Numeric. Sets the left offset of the marker. |
offsetY |
Numeric. Sets the top offset of the marker. |
hover |
List with item |
... |
Additional parameters. |
An apexchart()
htmlwidget
object.
See https://apexcharts.com/docs/options/markers/
data("economics", package = "ggplot2")
# show points
apex(
data = tail(economics, 20),
type = "line",
mapping = aes(x = date, y = uempmed)
) %>%
ax_markers(size = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.