ax-series | R Documentation |
Add data to a chart
ax_series(ax, ...)
ax_series2(ax, l)
ax |
An |
... |
Lists containing data to plot, typically list with two items: |
l |
A list. |
An apexchart()
htmlwidget
object.
# One serie
apexchart() %>%
ax_series(list(
name = "rnorm",
data = rnorm(10)
))
# Two series
apexchart() %>%
ax_series(
list(
name = "rnorm 1",
data = rnorm(10)
),
list(
name = "rnorm 2",
data = rnorm(10)
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.