pan

open fun pan(amount: Float)

Asks the AxisState to compute new ranges and tick values after panning, if the axis supports panning.

Parameters

amount

to pan as a fraction of the overall axis size. e.g. a value of 0.1 will pan the axis by 10% of its current range, increasing the values. Negative values will pan by decreasing the minimum and maximum axis range.