Skip to content

Commit 8f5e37e

Browse files
committed
BaseDataSe Kotlin
1 parent 94a5fe6 commit 8f5e37e

File tree

15 files changed

+575
-737
lines changed

15 files changed

+575
-737
lines changed

MPChartLib/src/main/java/com/github/mikephil/charting/data/BarDataSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public DataSet<BarEntry> copy() {
6464
}
6565

6666
protected void copy(BarDataSet barDataSet) {
67-
super.copy(barDataSet);
67+
super.copy((BaseDataSet<?>) barDataSet);
6868
barDataSet.mStackSize = mStackSize;
6969
barDataSet.mBarShadowColor = mBarShadowColor;
7070
barDataSet.mBarBorderWidth = mBarBorderWidth;

MPChartLib/src/main/java/com/github/mikephil/charting/data/BarLineScatterCandleBubbleDataSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public int getHighLightColor() {
4242
}
4343

4444
protected void copy(BarLineScatterCandleBubbleDataSet barLineScatterCandleBubbleDataSet) {
45-
super.copy(barLineScatterCandleBubbleDataSet);
45+
super.copy((BaseDataSet<?>) barLineScatterCandleBubbleDataSet);
4646
barLineScatterCandleBubbleDataSet.mHighLightColor = mHighLightColor;
4747
}
4848
}

0 commit comments

Comments
 (0)