animateZoom

suspend fun animateZoom(zoom: Zoom, animationSpec: AnimationSpec<Float> = spring(), bias: Float = 0.5f)

Triggers an animated zoom.

Parameters

bias

the zoom anchor’s horizontal position within the CartesianChart bounds, from 0 (the start edge) to 1 (the end edge).