Class Major
- java.lang.Object
-
- org.pepstock.charba.client.configuration.Major
-
public class Major extends Object
It defines options for the major tick marks that are generated by the axis.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AxisgetAxis()Returns the axis instance.booleanisEnabled()Iftrue, major tick options are used to show major ticks.voidsetEnabled(boolean enabled)Iftrue, major tick options are used to show major ticks.
-
-
-
Method Detail
-
setEnabled
public void setEnabled(boolean enabled)
Iftrue, major tick options are used to show major ticks.- Parameters:
enabled- iftrue, major tick options are used to show major ticks
-
isEnabled
public boolean isEnabled()
Iftrue, major tick options are used to show major ticks.- Returns:
- if
true, major tick options are used to show major ticks
-
getAxis
public final Axis getAxis()
Returns the axis instance.- Returns:
- the axis
-
-