Package org.primefaces.model.charts.axes
Class AxesScale
- java.lang.Object
-
- org.primefaces.model.charts.axes.AxesScale
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CartesianScales
,RadialScales
public abstract class AxesScale extends Object implements Serializable
Base Scale configuration for common scale options.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AxesScale()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Number
getWeight()
The weight used to sort the axis.boolean
isDisplay()
Controls the axis global visibility (visible when true, hidden when false).void
setDisplay(boolean display)
Controls the axis global visibility (visible when true, hidden when false).void
setWeight(Number weight)
The weight used to sort the axis.
-
-
-
Method Detail
-
isDisplay
public boolean isDisplay()
Controls the axis global visibility (visible when true, hidden when false).- Returns:
- display flag
-
setDisplay
public void setDisplay(boolean display)
Controls the axis global visibility (visible when true, hidden when false).- Parameters:
display
- true to display false to hide.
-
getWeight
public Number getWeight()
The weight used to sort the axis. Higher weights are further away from the chart area.- Returns:
- the weight
-
setWeight
public void setWeight(Number weight)
The weight used to sort the axis. Higher weights are further away from the chart area.- Parameters:
weight
- number to set to the weight to
-
-