org.eclipse.birt.chart.script.api.scale
Interface ITimeScale

All Superinterfaces:
IScale

public interface ITimeScale
extends IScale

Represents the Scale for chart scaling when Axis is Datetime type.


Method Summary
 java.util.Date getMax()
          Gets the maximum value that appears in Axis
 java.util.Date getMin()
          Gets the minimum value that appears in Axis
 int getStepSize()
          Gets the step size for scaling.
 java.lang.String getStepTimeUnit()
          Gets the name of ScaleUnitType for time scaling
 void setMax(java.util.Date max)
          Sets the maximum value that appears in Axis
 void setMin(java.util.Date min)
          Sets the minimum value that appears in Axis
 void 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

public int getStepSize()
Gets the step size for scaling.

Returns:
step size

setStepSize

public void setStepSize(int size)
Sets the step size for scaling.

Parameters:
size - step size

getStepTimeUnit

public java.lang.String getStepTimeUnit()
Gets the name of ScaleUnitType for time scaling

Returns:
the name of ScaleUnitType

setStepTimeUnit

public void setStepTimeUnit(java.lang.String unit)
Sets the name of ScaleUnitType for time scaling


getMin

public java.util.Date getMin()
Gets the minimum value that appears in Axis

Returns:
minimum value

getMax

public java.util.Date getMax()
Gets the maximum value that appears in Axis

Returns:
maximum value

setMin

public void setMin(java.util.Date min)
Sets the minimum value that appears in Axis

Parameters:
min - minimum value

setMax

public void setMax(java.util.Date max)
Sets the maximum value that appears in Axis

Parameters:
max - maximum value


Copyright © 2005-2007 Actuate Corp. All rights reserved.