Skip to content

Commit 83cc6b9

Browse files
committed
Cosmetic
1 parent f086731 commit 83cc6b9

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

MPChartLib/src/main/java/com/github/mikephil/charting/interfaces/datasets/IPieDataSet.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,23 @@
55
import com.github.mikephil.charting.data.PieDataSet;
66
import com.github.mikephil.charting.data.PieEntry;
77

8-
/**
9-
* Created by Philipp Jahoda on 03/11/15.
10-
*/
118
public interface IPieDataSet extends IDataSet<PieEntry> {
129

1310
/**
1411
* Returns the space that is set to be between the piechart-slices of this
1512
* DataSet, in pixels.
16-
*
17-
* @return
1813
*/
1914
float getSliceSpace();
2015

2116
/**
2217
* When enabled, slice spacing will be 0.0 when the smallest value is going to be
2318
* smaller than the slice spacing itself.
24-
*
25-
* @return
2619
*/
2720
boolean isAutomaticallyDisableSliceSpacingEnabled();
2821

2922
/**
3023
* Returns the distance a highlighted piechart slice is "shifted" away from
3124
* the chart-center in dp.
32-
*
33-
* @return
3425
*/
3526
float getSelectionShift();
3627

app/src/main/java/info/appdev/chartexample/CubicLineChartActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class CubicLineChartActivity : DemoBase(), OnSeekBarChangeListener {
125125
set1.lineWidth = 1.8f
126126
set1.circleRadius = 4f
127127
set1.setCircleColor(Color.WHITE)
128-
set1.highLightColor = Color.rgb(244, 117, 117)
128+
set1.setHighLightColor(Color.rgb(244, 117, 117))
129129
set1.color = Color.WHITE
130130
set1.fillColor = Color.WHITE
131131
set1.fillAlpha = 100

app/src/main/java/info/appdev/chartexample/DataTools.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class DataTools {
194194

195195
// customize legend entry
196196
lineDataSet01.formLineWidth = 1f
197-
lineDataSet01.formLineDashEffect = DashPathEffect(floatArrayOf(10f, 5f), 0f)
197+
lineDataSet01.setFormLineDashEffect(DashPathEffect(floatArrayOf(10f, 5f), 0f))
198198
lineDataSet01.formSize = 15f
199199

200200
// text size of values

app/src/main/java/info/appdev/chartexample/SpecificPositionsLineChartActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ class SpecificPositionsLineChartActivity : DemoBase(), OnSeekBarChangeListener,
273273
set11.valueTextSize = 9f
274274
set11.setDrawFilled(true)
275275
set11.formLineWidth = 1f
276-
set11.formLineDashEffect = DashPathEffect(floatArrayOf(10f, 5f), 0f)
276+
set11.setFormLineDashEffect(DashPathEffect(floatArrayOf(10f, 5f), 0f))
277277
set11.formSize = 15f
278278
if (Utils.getSDKInt() >= 18) {
279279
// fill drawable only supported on api level 18 and above

0 commit comments

Comments
 (0)