Chart parameters

ax_chart(ax, type = NULL, stacked = NULL, stackType = NULL,
  animations = NULL, background = NULL, foreColor = NULL,
  dropShadow = NULL, events = NULL, offsetX = NULL, offsetY = NULL,
  selection = NULL, sparkline = NULL, toolbar = NULL, zoom = NULL,
  width = NULL, height = NULL, ...)

Arguments

ax

A apexcharts htmlwidget object.

type

Specify the chart type. Available Options: "bar", "column", "line", "pie", "donut", "radialBar", "scatter", "bubble", "heatmap".

stacked

Logical. Enables stacked option for axis charts.

stackType

When stacked, should the stacking be percentage based or normal stacking. Available options: "normal" or "100%"

animations

A list of parameters.

background

Background color for the chart area. If you want to set background with css, use .apexcharts-canvas to set it.

foreColor

Sets the text color for the chart. Defaults to #373d3f.

dropShadow

A list of parameters. See https://apexcharts.com/docs/options/chart/dropshadow/.

events

See events_opts.

offsetX

Sets the left offset for chart.

offsetY

Sets the top offset for chart.

selection

A list of parameters.

sparkline

List. Sparkline hides all the elements of the charts other than the primary paths. Helps to visualize data in small areas. .

toolbar

A list of parameters. See https://apexcharts.com/docs/options/chart/toolbar/.

zoom

A list of parameters. See https://apexcharts.com/docs/options/chart/zoom/.

width

Width of the chart.

height

Height of the chart.

...

Additional parameters.

Value

A apexcharts htmlwidget object.