Class Axis
- java.lang.Object
-
- com.trivago.cluecumber.engine.rendering.pages.charts.pojos.Axis
-
public class Axis extends Object
Chart axis.
-
-
Constructor Summary
Constructors Constructor Description Axis()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScaleLabelgetScaleLabel()Get the scale label for this axis.floatgetStepSize()Get the step size for this axis.TicksgetTicks()Get the ticks on this chart axis.booleanisStacked()Determine if this axis is stacked.voidsetScaleLabel(ScaleLabel scaleLabel)Set the scale label for this axis.voidsetStacked(boolean stacked)Set if this axis is stacked.voidsetStepSize(float stepSize)Set the step size for this axis.voidsetTicks(Ticks ticks)Set the ticks on this chart axis.
-
-
-
Method Detail
-
getTicks
public Ticks getTicks()
Get the ticks on this chart axis.- Returns:
- The ticks of the axis.
-
setTicks
public void setTicks(Ticks ticks)
Set the ticks on this chart axis.- Parameters:
ticks- The ticks of the axis.
-
isStacked
public boolean isStacked()
Determine if this axis is stacked.- Returns:
- true if this axis is stacked.
-
setStacked
public void setStacked(boolean stacked)
Set if this axis is stacked.- Parameters:
stacked- true means the axis is stacked.
-
getScaleLabel
public ScaleLabel getScaleLabel()
Get the scale label for this axis.- Returns:
- The label.
-
setScaleLabel
public void setScaleLabel(ScaleLabel scaleLabel)
Set the scale label for this axis.- Parameters:
scaleLabel- The label.
-
getStepSize
public float getStepSize()
Get the step size for this axis.- Returns:
- The step size.
-
setStepSize
public void setStepSize(float stepSize)
Set the step size for this axis.- Parameters:
stepSize- The step size.
-
-