Skip to content

Commit f05b7c2

Browse files
committed
Data log
1 parent c19b995 commit f05b7c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MPChartExample/src/main/java/com/xxmassdeveloper/mpchartexample/LineChartActivity1.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,12 @@ protected void onCreate(Bundle savedInstanceState) {
161161
}
162162

163163
private void setData(int count, float range) {
164-
164+
Log.d("setData", count + "= range=" + range);
165165
ArrayList<Entry> values = new ArrayList<>();
166166

167167
for (int i = 0; i < count; i++) {
168-
169168
float val = (float) (Math.random() * range) - 30;
169+
Log.v("setData", i + "=" + val);
170170
values.add(new Entry(i, val, ContextCompat.getDrawable(this, R.drawable.star)));
171171
}
172172

0 commit comments

Comments
 (0)