getMaxScrollDistance

fun MeasureContext.getMaxScrollDistance(chartWidth: Float, horizontalDimensions: HorizontalDimensions, zoom: Float? = null): Float

Returns the maximum scroll distance.