public class XYValueSeriesTransition extends SeriesTransition
EASING_IN, EASING_IN_OUT, EASING_LINEAR, EASING_OUT| Constructor and Description |
|---|
XYValueSeriesTransition(ChartComponent chart,
XYValueSeries series)
Creates a new transition on the given chart and associated series.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup()
Cleans up after the transition is complete.
|
XYValueSeries |
getBuffer()
Gets the "buffer" series where values can be set.
|
XYValueSeries |
getSeries()
Gets the series whose values are to be animated by this transition.
|
void |
initTransition()
Initializes the transition.
|
protected void |
update(int progress)
Updates the series and renderer at the given progress position (0 to 100).
|
animate, animateChart, getChart, getDuration, getEasing, paint, setChart, setDuration, setEasing, updateChartpublic XYValueSeriesTransition(ChartComponent chart, XYValueSeries series)
chart - The ChartComponent that is being used to render the series.series - The series whose data you wish to animate.public void initTransition()
initTransition in class SeriesTransitionprotected void cleanup()
cleanup in class SeriesTransitionprotected void update(int progress)
update in class SeriesTransitionprogress - The progress position in the motion. (0-100).public XYValueSeries getBuffer()
public XYValueSeries getSeries()