VicoZoomState

constructor(zoomEnabled: Boolean, initialZoom: Zoom, minZoom: Zoom, maxZoom: Zoom)

Houses information on a CartesianChart’s zoom factor. Allows for zoom customization.

Parameters

zoomEnabled

whether zoom is enabled.

initialZoom

represents the initial zoom factor.

minZoom

represents the minimum zoom factor.

maxZoom

represents the maximum zoom factor.