scrollBy

fun scrollBy(getDelta: (value: Float, maxValue: Float) -> Float)

Invokes the provided function block, passing to it the current scroll amount and the maximum scroll amount, and scrolls the chart by the number of pixels returned by the function block.