Interface ILinearScale
- All Superinterfaces:
IScale
- All Known Subinterfaces:
ILogarithmicScale
Represents the Scale for chart scaling when Axis is Linear type.
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetMax()Gets the maximum value that appears in AxisdoublegetMin()Gets the minimum value that appears in AxisintGets the number of steps for scalingintGets the step size for scaling.voidsetMax(double max) Sets the maximum value that appears in AxisvoidsetMin(double min) Sets the minimum value that appears in AxisvoidsetNumberOfSteps(int steps) Sets the number of steps for scalingvoidsetStepSize(int size) Sets the step size for scaling.Methods 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
-
getNumberOfSteps
int getNumberOfSteps()Gets the number of steps for scaling- Returns:
- number of steps
-
setNumberOfSteps
void setNumberOfSteps(int steps) Sets the number of steps for scaling- Parameters:
steps- number of steps
-
getMin
double getMin()Gets the minimum value that appears in Axis- Returns:
- minimum value
-
getMax
double getMax()Gets the maximum value that appears in Axis- Returns:
- maximum value
-
setMin
void setMin(double min) Sets the minimum value that appears in Axis- Parameters:
min- minimum value
-
setMax
void setMax(double max) Sets the maximum value that appears in Axis- Parameters:
max- maximum value
-