Package io.jmix.charts.model.animation
Interface HasStartEffect<T>
- All Known Subinterfaces:
AngularGaugeChart
,AngularGaugeChartModel<T>
,CoordinateChart<T>
,CoordinateChartModel<T>
,FunnelChart
,FunnelChartModel<T>
,GanttChart
,GanttChartModel<T>
,PieChart
,PieChartModel<T>
,RadarChart
,RadarChartModel<T>
,RectangularChart<T>
,RectangularChartModel<T>
,SerialChart
,SeriesBasedChart<T>
,SeriesBasedChartModel<T>
,SlicedChart<T>
,SlicedChartModel<T>
,XYChart
,XYChartModel<T>
- All Known Implementing Classes:
AbstractSerialChart
,AngularGaugeChartImpl
,AngularGaugeChartModelImpl
,CoordinateChartImpl
,CoordinateChartModelImpl
,FunnelChartImpl
,FunnelChartModelImpl
,GanttChartImpl
,GanttChartModelImpl
,PanelsSettings
,PieChartImpl
,PieChartModelImpl
,RadarChartImpl
,RadarChartModelImpl
,RectangularChartImpl
,RectangularChartModelImpl
,SerialChartImpl
,SerialChartModelImpl
,SeriesBasedChartImpl
,SlicedChartImpl
,SlicedChartModelImpl
,StockPanel
,XYChartImpl
,XYChartModelImpl
public interface HasStartEffect<T>
-
Method Summary
Modifier and TypeMethodDescriptionsetStartDuration
(Double startDuration) Sets duration of the animation, in seconds.setStartEffect
(AnimationEffect startEffect) Sets animation effect.
-
Method Details
-
getStartEffect
AnimationEffect getStartEffect()- Returns:
- animation effect
-
setStartEffect
Sets animation effect.If you use
AngularGaugeChartModelImpl
animation effect will be applied for the arrow. If not set the default value is EASE_IN_SINE.If you use charts based on
CoordinateChartModel
(GanttChart, RadarChart, SerialChart, XYChart) default value is ELASTIC.If you use chart based on
SlicedChartModelImpl
default value is BOUNCE.- Parameters:
startEffect
- the start effect- Returns:
- object with set animation effect
-
getStartDuration
Double getStartDuration()- Returns:
- duration of the animation, in seconds
-
setStartDuration
Sets duration of the animation, in seconds.If you use
AngularGaugeChartModelImpl
default value is 1.If you use charts based on
CoordinateChartModel
(GanttChart, RadarChart, SerialChart, XYChart) default value is 0.If you use chart based on
SlicedChartModelImpl
default value is 1.- Parameters:
startDuration
- the start duration- Returns:
- object with set duration of the animation
-