Interface IScale
- All Known Subinterfaces:
ICategoryScale,ILinearScale,ILogarithmicScale,ITimeScale
public interface IScale
Represents the Scale for chart scaling in the scripting environment
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuto()Checks if Chart will be scaled automaticallybooleanGets if scale is by category, meanwhile all scale attributes are invalidvoidsetAuto()Sets if Chart will be scaled automatically, i.e.voidsetCategory(boolean category) Sets if scale is by category, meanwhile all scale attributes are invalid
-
Method Details
-
isAuto
boolean isAuto()Checks if Chart will be scaled automatically- Returns:
- auto scale or not
-
setAuto
void setAuto()Sets if Chart will be scaled automatically, i.e. unset step size and number of steps -
isCategory
boolean isCategory()Gets if scale is by category, meanwhile all scale attributes are invalid- Returns:
- by category or not
-
setCategory
void setCategory(boolean category) Sets if scale is by category, meanwhile all scale attributes are invalid- Parameters:
category- category or not
-