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
Base Scale configuration for common scale options.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe weight used to sort the axis.boolean
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
The weight used to sort the axis.
-
Constructor Details
-
AxesScale
public AxesScale()
-
-
Method Details
-
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
The weight used to sort the axis. Higher weights are further away from the chart area.- Returns:
- the weight
-
setWeight
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
-