requireModel

open fun requireModel(): Model

Returns the ChartEntryModel or, if no ChartEntryModel is available, throws an exception.