package jackall.moncalc.model import com.github.mikephil.charting.components.AxisBase import com.github.mikephil.charting.data.Entry import com.github.mikephil.charting.data.LineData import com.github.mikephil.charting.data.LineDataSet import com.github.mikephil.charting.formatter.IAxisValueFormatter /** * Created by matsumoto_k on 2017/11/05. */ class LineChartModel(entries: ArrayList<Entry>, label: String) { val dataSets = LineDataSet(entries, label) val lineData by lazy { val lineData = LineData(dataSets) lineData } }