Class Ticks
- java.lang.Object
-
- com.trivago.cluecumber.engine.rendering.pages.charts.pojos.Ticks
-
public class Ticks extends Object
Class to define the ticks on chart axes.
-
-
Constructor Summary
Constructors Constructor Description Ticks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMin()Get the minimum tick.floatgetStepSize()Get the tick step size.booleanisDisplay()Check if ticks should be displayed.voidsetDisplay(boolean display)Set if ticks should be displayed.voidsetMin(int min)Set the minimum tick.voidsetStepSize(float stepSize)Set the tick step size.
-
-
-
Method Detail
-
getMin
public int getMin()
Get the minimum tick.- Returns:
- The value.
-
setMin
public void setMin(int min)
Set the minimum tick.- Parameters:
min- The value.
-
isDisplay
public boolean isDisplay()
Check if ticks should be displayed.- Returns:
- true if ticks should be displayed.
-
setDisplay
public void setDisplay(boolean display)
Set if ticks should be displayed.- Parameters:
display- true if ticks should be displayed.
-
getStepSize
public float getStepSize()
Get the tick step size.- Returns:
- The step size.
-
setStepSize
public void setStepSize(float stepSize)
Set the tick step size.- Parameters:
stepSize- The step size.
-
-