50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

apexcharter (version 0.4.4)

ax_markers: Markers properties

Description

Markers properties

Usage

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,
  ...
)

Value

An apexchart()

htmlwidget object.

Arguments

ax

An apexchart() htmlwidget object.

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: "square" or "circle".

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 size (Size of the marker when it is active).

...

Additional parameters.

Examples

Run this code
data("economics", package = "ggplot2")

# show points
apex(
  data = tail(economics, 20),
  type = "line", 
  mapping = aes(x = date, y = uempmed)
) %>% 
  ax_markers(size = 6) 

Run the code above in your browser using DataLab