Skip to content

Commit 0063449

Browse files
authored
Merge pull request #434 from AppDevNext/Rename
Rename
2 parents 4d1da93 + 6d3e342 commit 0063449

File tree

61 files changed

+796
-793
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+796
-793
lines changed

.github/workflows/Android-CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ jobs:
6161
uses: actions/upload-artifact@v5
6262
if: ${{ always() }}
6363
with:
64-
name: MPChart-Espresso-report-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}-${{ matrix.emulatorApi }}
64+
name: Chart-Espresso-report-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}-${{ matrix.emulatorApi }}
6565
path: app/build/reports/androidTests/connected
6666
if-no-files-found: error
6767
- name: Archive screenshots
6868
if: ${{ always() }}
6969
uses: actions/upload-artifact@v5
7070
with:
71-
name: MPChart-Screenshots-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}-${{ matrix.emulatorApi }}
71+
name: Chart-Screenshots-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}-${{ matrix.emulatorApi }}
7272
path: |
7373
app/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected
7474
app/build/outputs/androidTest-results/connected
@@ -86,7 +86,7 @@ jobs:
8686
if: ${{ always() }}
8787
uses: actions/upload-artifact@v5
8888
with:
89-
name: MPChart-Screenshots-diffs-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}-${{ matrix.emulatorApi }}
89+
name: Chart-Screenshots-diffs-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}-${{ matrix.emulatorApi }}
9090
path: |
9191
screenshotDiffs
9292
- name: Show git status

MPChartLib/proguard-lib.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Whitelist MPAndroidChart
1+
# Whitelist AndroidChart
22
# Preserve all public classes and methods
33

44
-keep class com.github.mikephil.charting.** { *; }

MPChartLib/src/main/java/com/github/mikephil/charting/charts/Chart.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
@SuppressWarnings("unused")
6565
public abstract class Chart<T extends ChartData<? extends IDataSet<? extends Entry>>> extends ViewGroup implements ChartInterface {
6666

67-
public static final String LOG_TAG = "MPAndroidChart";
67+
public static final String LOG_TAG = "AndroidChart";
6868

6969
/**
7070
* flag that indicates if logging is enabled or not
@@ -1443,7 +1443,7 @@ public boolean saveToGallery(String fileName, String subFolderPath, String fileD
14431443
* @return returns true if saving was successful, false if not
14441444
*/
14451445
public boolean saveToGallery(String fileName, int quality) {
1446-
return saveToGallery(fileName, "", "MPAndroidChart-Library Save", Bitmap.CompressFormat.PNG, quality);
1446+
return saveToGallery(fileName, "", "AndroidChart-Library Save", Bitmap.CompressFormat.PNG, quality);
14471447
}
14481448

14491449
/**
@@ -1454,7 +1454,7 @@ public boolean saveToGallery(String fileName, int quality) {
14541454
* @return returns true if saving was successful, false if not
14551455
*/
14561456
public boolean saveToGallery(String fileName) {
1457-
return saveToGallery(fileName, "", "MPAndroidChart-Library Save", Bitmap.CompressFormat.PNG, 40);
1457+
return saveToGallery(fileName, "", "AndroidChart-Library Save", Bitmap.CompressFormat.PNG, 40);
14581458
}
14591459

14601460
/**

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Baseclass of all DataSets for Bar-, Line-, Scatter- and CandleStickChart.
12+
*
13+
* @author Philipp Jahoda
1214
*/
1315
public abstract class BarLineScatterCandleBubbleDataSet<T extends Entry>
1416
extends DataSet<T>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,21 +252,21 @@ public boolean removeDataSet(IBarLineScatterCandleBubbleDataSet<? extends Entry>
252252
@Deprecated
253253
@Override
254254
public boolean removeDataSet(int index) {
255-
Log.e("MPAndroidChart", "removeDataSet(int index) not supported for CombinedData");
255+
Log.e("AndroidChart", "removeDataSet(int index) not supported for CombinedData");
256256
return false;
257257
}
258258

259259
@Deprecated
260260
@Override
261261
public boolean removeEntry(Entry e, int dataSetIndex) {
262-
Log.e("MPAndroidChart", "removeEntry(...) not supported for CombinedData");
262+
Log.e("AndroidChart", "removeEntry(...) not supported for CombinedData");
263263
return false;
264264
}
265265

266266
@Deprecated
267267
@Override
268268
public boolean removeEntry(float xValue, int dataSetIndex) {
269-
Log.e("MPAndroidChart", "removeEntry(...) not supported for CombinedData");
269+
Log.e("AndroidChart", "removeEntry(...) not supported for CombinedData");
270270
return false;
271271
}
272272
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public List<IPieDataSet> getDataSets() {
5353
List<IPieDataSet> dataSets = super.getDataSets();
5454

5555
if (dataSets.size() < 1) {
56-
Log.e("MPAndroidChart",
56+
Log.e("AndroidChart",
5757
"Found multiple data sets while pie chart only allows one");
5858
}
5959

MPChartLib/src/main/java/com/github/mikephil/charting/utils/FileUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
public class FileUtils {
2828

29-
private static final String LOG = "MPChart-FileUtils";
29+
private static final String LOG = "Chart-FileUtils";
3030

3131
/**
3232
* Loads a an Array of Entries from a textfile from the sd-card.

0 commit comments

Comments
 (0)