ChartAxisCrossingProps

Represents the configuration options for axis crossing in a chart.

Props

The following table outlines the props for the ChartAxisCrossingProps:

NameTypeDefaultDescription
allowOverlap
boolean
true

Indicates whether the axis line is allowed to overlap axis elements such as labels and titles. When set to true, the axis line may cross over these elements.

axis
string | null
null

Specifies the name of the target axis that the current axis line should intersect.

value
number | Date | string | null
null

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.