diff --git a/app/src/main/kotlin/jackall/moncalc/model/PieChartModel.kt b/app/src/main/kotlin/jackall/moncalc/model/PieChartModel.kt index a0d58d8..44ea538 100644 --- a/app/src/main/kotlin/jackall/moncalc/model/PieChartModel.kt +++ b/app/src/main/kotlin/jackall/moncalc/model/PieChartModel.kt @@ -21,6 +21,11 @@ setDataSetsConfig() } + fun setValueLinePart(length1: Float, length2: Float) { + dataSets.valueLinePart1Length = length1 + dataSets.valueLinePart2Length = length2 + } + fun setDataSetsConfig() { dataSets.setSliceSpace(2f) dataSets.setValueTextSize(15f)