Interface ITimeScale
- All Superinterfaces:
IScale
Represents the Scale for chart scaling when Axis is Datetime type.
-
Method Summary
Modifier and TypeMethodDescriptiongetMax()
Gets the maximum value that appears in AxisgetMin()
Gets the minimum value that appears in Axisint
Gets the step size for scaling.Gets the name of ScaleUnitType for time scalingvoid
Sets the maximum value that appears in Axisvoid
Sets the minimum value that appears in Axisvoid
setStepSize
(int size) Sets the step size for scaling.void
setStepTimeUnit
(String unit) Sets the name of ScaleUnitType for time scalingMethods inherited from interface org.eclipse.birt.chart.script.api.scale.IScale
isAuto, isCategory, setAuto, setCategory
-
Method Details
-
getStepSize
int getStepSize()Gets the step size for scaling.- Returns:
- step size
-
setStepSize
void setStepSize(int size) Sets the step size for scaling.- Parameters:
size
- step size
-
getStepTimeUnit
String getStepTimeUnit()Gets the name of ScaleUnitType for time scaling- Returns:
- the name of ScaleUnitType
-
setStepTimeUnit
Sets the name of ScaleUnitType for time scaling- Parameters:
the
- name of ScaleUnitType
-
getMin
Date getMin()Gets the minimum value that appears in Axis- Returns:
- minimum value
-
getMax
Date getMax()Gets the maximum value that appears in Axis- Returns:
- maximum value
-
setMin
Sets the minimum value that appears in Axis- Parameters:
min
- minimum value
-
setMax
Sets the maximum value that appears in Axis- Parameters:
max
- maximum value
-