public class ChartAnimator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected float |
mPhaseX
the phase that is animated and influences the drawn values on the x-axis
|
protected float |
mPhaseY
the phase that is animated and influences the drawn values on the y-axis
|
| Constructor and Description |
|---|
ChartAnimator() |
ChartAnimator(android.animation.ValueAnimator.AnimatorUpdateListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
animateX(int durationMillis)
Animates the rendering of the chart on the x-axis with the specified
animation time.
|
void |
animateX(int durationMillis,
Easing.EasingOption easing)
Animates the rendering of the chart on the x-axis with the specified
animation time.
|
void |
animateX(int durationMillis,
EasingFunction easing)
Animates the rendering of the chart on the x-axis with the specified
animation time.
|
void |
animateXY(int durationMillisX,
int durationMillisY)
Animates the drawing / rendering of the chart on both x- and y-axis with
the specified animation time.
|
void |
animateXY(int durationMillisX,
int durationMillisY,
Easing.EasingOption easingX,
Easing.EasingOption easingY)
Animates the drawing / rendering of the chart on both x- and y-axis with
the specified animation time.
|
void |
animateXY(int durationMillisX,
int durationMillisY,
EasingFunction easingX,
EasingFunction easingY)
Animates the drawing / rendering of the chart on both x- and y-axis with
the specified animation time.
|
void |
animateY(int durationMillis)
Animates the rendering of the chart on the y-axis with the specified
animation time.
|
void |
animateY(int durationMillis,
Easing.EasingOption easing)
Animates the rendering of the chart on the y-axis with the specified
animation time.
|
void |
animateY(int durationMillis,
EasingFunction easing)
Animates the rendering of the chart on the y-axis with the specified
animation time.
|
float |
getPhaseX()
This gets the x-phase that is used to animate the values.
|
float |
getPhaseY()
This gets the y-phase that is used to animate the values.
|
void |
setPhaseX(float phase)
This modifys the x-phase that is used to animate the values.
|
void |
setPhaseY(float phase)
This modifys the y-phase that is used to animate the values.
|
protected float mPhaseY
protected float mPhaseX
public ChartAnimator()
public ChartAnimator(android.animation.ValueAnimator.AnimatorUpdateListener listener)
public void animateXY(int durationMillisX,
int durationMillisY,
EasingFunction easingX,
EasingFunction easingY)
durationMillisX - durationMillisY - easingX - easingY - public void animateX(int durationMillis,
EasingFunction easing)
durationMillis - easing - public void animateY(int durationMillis,
EasingFunction easing)
durationMillis - easing - public void animateXY(int durationMillisX,
int durationMillisY,
Easing.EasingOption easingX,
Easing.EasingOption easingY)
durationMillisX - durationMillisY - easingX - easingY - public void animateX(int durationMillis,
Easing.EasingOption easing)
durationMillis - easing - public void animateY(int durationMillis,
Easing.EasingOption easing)
durationMillis - easing - public void animateXY(int durationMillisX,
int durationMillisY)
durationMillisX - durationMillisY - public void animateX(int durationMillis)
durationMillis - public void animateY(int durationMillis)
durationMillis - public float getPhaseY()
public void setPhaseY(float phase)
phase - public float getPhaseX()
public void setPhaseX(float phase)
phase -