I am trying to put values into Yaxis of a LineChart using MpAndroidCharts in Kotlin using Android studio:

How should I put constructor?
I am trying to put values into Yaxis of a LineChart using MpAndroidCharts in Kotlin using Android studio:

How should I put constructor?