Skip to content

Commit 88722ef

Browse files
committed
Arrays of Entries can now be loaded from a .txt file and stored in a .txt file. Improved example.
1 parent 6e7178a commit 88722ef

12 files changed

Lines changed: 181 additions & 92 deletions

File tree

‎MPChartExample/assets/cosine.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Cosine function
21
1.0#0
32
0.9998000066755178#1
43
0.9992001066967312#2

‎MPChartExample/assets/hugecosine.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Huge cosine
21
1.0#0
32
0.9999875000266004#1
43
0.9999500004189004#2

‎MPChartExample/assets/hugesine.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Huge sine
21
0.0#0
32
0.004999979054935396#1
43
0.009999833110660423#2

‎MPChartExample/assets/n.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
O(n)
21
0.0#0
32
0.05#1
43
0.1#2

‎MPChartExample/assets/nlogn.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
O(nlogn)
21
0.0#0
32
-0.14978661516463596#1
43
-0.2302585112404076#2

‎MPChartExample/assets/sine.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Sine function
21
0.0#0
32
0.019998666246387648#1
43
0.039989333293279646#2

‎MPChartExample/assets/square.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
O(n²)
21
0.0#0
32
0.0025000000745058065#1
43
0.010000000298023226#2
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
4#2#6#0
2+
0#2#8#1
3+
3#8#2#2
4+
0#7#0#3
5+
5#5#2#4
6+
9#0#0#5
7+
3#3#6#6

‎MPChartExample/assets/three.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
O(n³)
21
0.0#0
32
1.2500000558793553E-4#1
43
0.0010000000447034842#2

‎MPChartExample/src/com/xxmassdeveloper/mpchartexample/fragments/BarChartFrag.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa
4343
mChart.setDrawXLabels(false);
4444
mChart.setDrawYValues(false);
4545
mChart.setUnit(" €");
46+
mChart.setDrawBarShadow(false);
4647

4748
Typeface tf = Typeface.createFromAsset(getActivity().getAssets(),"OpenSans-Light.ttf");
4849

0 commit comments

Comments
 (0)