Interface ILinearScale
- All Superinterfaces:
IScale
- All Known Subinterfaces:
ILogarithmicScale
Represents the Scale for chart scaling when Axis is Linear type.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getMax()
Gets the maximum value that appears in Axisdouble
getMin()
Gets the minimum value that appears in Axisint
Gets the number of steps for scalingint
Gets the step size for scaling.void
setMax
(double max) Sets the maximum value that appears in Axisvoid
setMin
(double min) Sets the minimum value that appears in Axisvoid
setNumberOfSteps
(int steps) Sets the number of steps for scalingvoid
setStepSize
(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
-