getMaxX

open fun getMaxX(model: Model): Float?

The maximum value shown on the x-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 x-axis value.