Use these options in ax_plotOptions
.
bar_opts( horizontal = NULL, endingShape = NULL, columnWidth = NULL, barHeight = NULL, distributed = NULL, colors = NULL, dataLabels = NULL, ... )
horizontal | Logical. This option will turn a column chart into a horizontal bar chart. |
---|---|
endingShape | Available Options: |
columnWidth | In column charts, columnWidth is the percentage of the available width in the grid-rect. |
barHeight | In horizontal bar charts, barHeight is the percentage of the available height in the grid-rect. |
distributed | Logical. Turn this option to make the bars discrete. Each value indicates one bar per series. |
colors | A list of parameters. |
dataLabels | List with fields |
... | Additional parameters. |
A list
of options that can be used in ax_plotOptions
.
See https://apexcharts.com/docs/options/plotoptions/bar/.