Position

The opposedPosition property allows you to move an axis to the opposite side of the chart area. Setting opposedPosition: true on the Y-axis will place it on the right side instead of the default left.

Loading...

Axis Crossing

Axis crossing allows you to control where one axis intersects another. This is configured using the crossAt property, which accepts an object with the following keys:

  • value: Defines the value at which the axis line intersects with another axis. This can be a numeric value, date, or category name, depending on the axis type.
  • axis: Specifies the name of the target axis that the current axis line should intersect.
  • allowOverlap: Indicates whether the axis line is allowed to overlap axis elements such as labels and titles.
Loading...