Skip to content

Commit 7771bd0

Browse files
committed
Comment cleanup
1 parent 81a5879 commit 7771bd0

2 files changed

Lines changed: 7 additions & 17 deletions

File tree

MPChartLib/src/main/java/com/github/mikephil/charting/animation/ChartAnimator.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ import android.animation.ValueAnimator.AnimatorUpdateListener
55
import androidx.annotation.RequiresApi
66
import com.github.mikephil.charting.animation.Easing.EasingFunction
77

8-
/**
9-
* Object responsible for all animations in the Chart. Animations require API level 11.
10-
*/
118
class ChartAnimator {
129
/** object that is updated upon animation update */
1310
private var animatorUpdateListener: AnimatorUpdateListener? = null

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

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -817,8 +817,7 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>?> : ViewGroup, IBase
817817
/**
818818
* Animates the drawing / rendering of the chart on both x- and y-axis with
819819
* the specified animation time. If animate(...) is called, no further
820-
* calling of invalidate() is necessary to refresh the chart. ANIMATIONS
821-
* ONLY WORK FOR API LEVEL 11 (Android 3.0.x) AND HIGHER.
820+
* calling of invalidate() is necessary to refresh the chart.
822821
*
823822
* @param easingX a custom easing function to be used on the animation phase
824823
* @param easingY a custom easing function to be used on the animation phase
@@ -830,8 +829,7 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>?> : ViewGroup, IBase
830829
/**
831830
* Animates the drawing / rendering of the chart on both x- and y-axis with
832831
* the specified animation time. If animate(...) is called, no further
833-
* calling of invalidate() is necessary to refresh the chart. ANIMATIONS
834-
* ONLY WORK FOR API LEVEL 11 (Android 3.0.x) AND HIGHER.
832+
* calling of invalidate() is necessary to refresh the chart.
835833
*
836834
* @param easing a custom easing function to be used on the animation phase
837835
*/
@@ -842,8 +840,7 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>?> : ViewGroup, IBase
842840
/**
843841
* Animates the rendering of the chart on the x-axis with the specified
844842
* animation time. If animate(...) is called, no further calling of
845-
* invalidate() is necessary to refresh the chart. ANIMATIONS ONLY WORK FOR
846-
* API LEVEL 11 (Android 3.0.x) AND HIGHER.
843+
* invalidate() is necessary to refresh the chart.
847844
*
848845
* @param easing a custom easing function to be used on the animation phase
849846
*/
@@ -854,8 +851,7 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>?> : ViewGroup, IBase
854851
/**
855852
* Animates the rendering of the chart on the y-axis with the specified
856853
* animation time. If animate(...) is called, no further calling of
857-
* invalidate() is necessary to refresh the chart. ANIMATIONS ONLY WORK FOR
858-
* API LEVEL 11 (Android 3.0.x) AND HIGHER.
854+
* invalidate() is necessary to refresh the chart.
859855
*
860856
* @param easing a custom easing function to be used on the animation phase
861857
*/
@@ -866,8 +862,7 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>?> : ViewGroup, IBase
866862
/**
867863
* Animates the rendering of the chart on the x-axis with the specified
868864
* animation time. If animate(...) is called, no further calling of
869-
* invalidate() is necessary to refresh the chart. ANIMATIONS ONLY WORK FOR
870-
* API LEVEL 11 (Android 3.0.x) AND HIGHER.
865+
* invalidate() is necessary to refresh the chart.
871866
*/
872867
fun animateX(durationMillis: Int) {
873868
mAnimator.animateX(durationMillis)
@@ -876,8 +871,7 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>?> : ViewGroup, IBase
876871
/**
877872
* Animates the rendering of the chart on the y-axis with the specified
878873
* animation time. If animate(...) is called, no further calling of
879-
* invalidate() is necessary to refresh the chart. ANIMATIONS ONLY WORK FOR
880-
* API LEVEL 11 (Android 3.0.x) AND HIGHER.
874+
* invalidate() is necessary to refresh the chart.
881875
*/
882876
fun animateY(durationMillis: Int) {
883877
mAnimator.animateY(durationMillis)
@@ -886,8 +880,7 @@ abstract class Chart<T : ChartData<out IDataSet<out Entry>>?> : ViewGroup, IBase
886880
/**
887881
* Animates the drawing / rendering of the chart on both x- and y-axis with
888882
* the specified animation time. If animate(...) is called, no further
889-
* calling of invalidate() is necessary to refresh the chart. ANIMATIONS
890-
* ONLY WORK FOR API LEVEL 11 (Android 3.0.x) AND HIGHER.
883+
* calling of invalidate() is necessary to refresh the chart.
891884
*/
892885
fun animateXY(durationMillisX: Int, durationMillisY: Int) {
893886
mAnimator.animateXY(durationMillisX, durationMillisY)

0 commit comments

Comments
 (0)