AxisDataProps

Represents data for an axis during zoom operations in interactive charts. Stores zoom state, factors, and visible range information for axis manipulation.

Props

The following table outlines the props for the AxisDataProps:

NameTypeDefaultDescription
axisName
string
-

The name of the axis being zoomed.

axisRange
-

The visible range of the axis after zooming. Includes minimum, maximum, interval, and delta values.

zoomFactor
number
-

The zoom factor applied to the axis. A value between 0 and 1 indicating the scale level of the zoom.

zoomPosition
number
-

The zoom position of the axis. Represents the starting position of the zoomed view as a normalized value.