Interface ITimeScale
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Date
getMax()
Gets the maximum value that appears in Axisjava.util.Date
getMin()
Gets the minimum value that appears in Axisint
getStepSize()
Gets the step size for scaling.java.lang.String
getStepTimeUnit()
Gets the name of ScaleUnitType for time scalingvoid
setMax(java.util.Date max)
Sets the maximum value that appears in Axisvoid
setMin(java.util.Date min)
Sets the minimum value that appears in Axisvoid
setStepSize(int size)
Sets the step size for scaling.void
setStepTimeUnit(java.lang.String unit)
Sets the name of ScaleUnitType for time scaling-
Methods inherited from interface org.eclipse.birt.chart.script.api.scale.IScale
isAuto, isCategory, setAuto, setCategory
-
-
-
-
Method Detail
-
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
java.lang.String getStepTimeUnit()
Gets the name of ScaleUnitType for time scaling- Returns:
- the name of ScaleUnitType
-
setStepTimeUnit
void setStepTimeUnit(java.lang.String unit)
Sets the name of ScaleUnitType for time scaling- Parameters:
the
- name of ScaleUnitType
-
getMin
java.util.Date getMin()
Gets the minimum value that appears in Axis- Returns:
- minimum value
-
getMax
java.util.Date getMax()
Gets the maximum value that appears in Axis- Returns:
- maximum value
-
setMin
void setMin(java.util.Date min)
Sets the minimum value that appears in Axis- Parameters:
min
- minimum value
-
setMax
void setMax(java.util.Date max)
Sets the maximum value that appears in Axis- Parameters:
max
- maximum value
-
-