Skip to content

Commit e04982d

Browse files
authored
Merge pull request #354 from AppDevNext/DatasetsKotlin
Datasets kotlin
2 parents d74acc1 + a1f5e4f commit e04982d

21 files changed

+653
-843
lines changed

MPChartLib/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ android {
4747

4848
dependencies {
4949
implementation 'androidx.annotation:annotation:1.9.1'
50+
implementation 'androidx.core:core:1.16.0'
5051
testImplementation 'junit:junit:4.13.2'
5152
}
5253

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)