Skip to content

Commit 2cd355b

Browse files
committed
Added new .jar file.
1 parent b422a0b commit 2cd355b

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed
Binary file not shown.

MPChartExample/project.properties

-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@
1212

1313
# Project target.
1414
target=android-19
15-
android.library.reference.1=../MPChartLib

MPChartExample/src/com/xxmassdeveloper/mpchartexample/LineChartActivity.java

+9-9
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ protected void onCreate(Bundle savedInstanceState) {
122122

123123
// add data
124124
setData(45, 100);
125-
125+
126126
mChart.animateX(2500);
127-
128-
// // restrain the maximum scale-out factor
129-
// mChart.setScaleMinima(3f, 3f);
130-
//
131-
// // center the view to a specific position inside the chart
132-
// mChart.centerViewPort(10, 50);
127+
128+
// // restrain the maximum scale-out factor
129+
// mChart.setScaleMinima(3f, 3f);
130+
//
131+
// // center the view to a specific position inside the chart
132+
// mChart.centerViewPort(10, 50);
133133

134134
// get the legend (only possible after setting data)
135135
Legend l = mChart.getLegend();
@@ -386,10 +386,10 @@ public void onChartDoubleTapped(MotionEvent me) {
386386
public void onChartSingleTapped(MotionEvent me) {
387387
Log.i("SingleTap", "Chart single-tapped.");
388388
}
389-
389+
390390
@Override
391391
public void onChartFling(MotionEvent me1, MotionEvent me2, float velocityX, float velocityY) {
392-
Log.i("Fling", "Chart flinged.");
392+
Log.i("Fling", "Chart flinged. VeloX: " + velocityX + ", VeloY: " + velocityY);
393393
}
394394

395395
@Override

0 commit comments

Comments
 (0)