Skip to content

Commit f086731

Browse files
committed
BaseDataSet Kotlin
1 parent fd0c550 commit f086731

File tree

11 files changed

+435
-514
lines changed

11 files changed

+435
-514
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)