X-axis options
ax_xaxis(ax, type = NULL, categories = NULL, labels = NULL, axisBorder = NULL, axisTicks = NULL, tickAmount = NULL, min = NULL, max = NULL, range = NULL, floating = NULL, position = NULL, title = NULL, crosshairs = NULL, tooltip = NULL, ...)
ax | A |
---|---|
type | Character. Available Options : |
categories | Categories are labels which are displayed on the x-axis. |
labels | A list of parameters. |
axisBorder | A list of parameters. |
axisTicks | A list of parameters. |
tickAmount | Number of Tick Intervals to show. |
min | Lowest number to be set for the x-axis. The graph drawing beyond this number will be clipped off. |
max | Highest number to be set for the x-axis. The graph drawing beyond this number will be clipped off. |
range | Range takes the max value of x-axis, subtracts the provided range value and gets the min value based on that. So, technically it helps to keep the same range when min and max values gets updated dynamically. |
floating | Logical. Floating takes x-axis is taken out of normal flow and places x-axis on svg element directly, similar to an absolutely positioned element. Set the offsetX and offsetY then to adjust the position manually |
position | Setting this option allows you to change the x-axis position. Available options: |
title | A list of parameters. |
crosshairs | A list of parameters. |
tooltip | A list of parameters. |
... | Additional parameters. |
A apexcharts
htmlwidget
object.