getMaxY

open fun getMaxY(model: Model): Float?

The maximum value shown on the y-axis. If null is returned, the chart will fall back to the default value.

Parameters

model

holds data about the chart’s entries, which can be used to calculate the new maximum y-axis value.