Class RadialLinearTicks
java.lang.Object
org.primefaces.model.charts.axes.AxesTicks
org.primefaces.model.charts.axes.radial.linear.RadialLinearTicks
- All Implemented Interfaces:
Serializable
Used to provide radial linear ticks. RadialLinearTicks extends
AxesTicks
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionencode()
Write the radial linear ticksGets the backdropColorGets the backdropPaddingXGets the backdropPaddingYgetMax()
Gets the maxGets the maxTicksLimitgetMin()
Gets the minGets the stepSizeboolean
Gets the beginAtZeroboolean
Gets the showLabelBackdropvoid
setBackdropColor
(String backdropColor) Sets the backdropColorvoid
setBackdropPaddingX
(Number backdropPaddingX) Sets the backdropPaddingXvoid
setBackdropPaddingY
(Number backdropPaddingY) Sets the backdropPaddingYvoid
setBeginAtZero
(boolean beginAtZero) Sets the beginAtZerovoid
Sets the maxvoid
setMaxTicksLimit
(Number maxTicksLimit) Sets the maxTicksLimitvoid
Sets the minvoid
setShowLabelBackdrop
(boolean showLabelBackdrop) Sets the showLabelBackdropvoid
setStepSize
(Number stepSize) Sets the stepSizeMethods inherited from class org.primefaces.model.charts.axes.AxesTicks
getFont, getFontColor, getFontFamily, getFontSize, getFontStyle, isDisplay, isReverse, setDisplay, setFont, setFontColor, setFontFamily, setFontSize, setFontStyle, setReverse
-
Constructor Details
-
RadialLinearTicks
public RadialLinearTicks()
-
-
Method Details
-
getBackdropColor
Gets the backdropColor- Returns:
- backdropColor
-
setBackdropColor
Sets the backdropColor- Parameters:
backdropColor
- Color of label backdrops
-
getBackdropPaddingX
Gets the backdropPaddingX- Returns:
- backdropPaddingX
-
setBackdropPaddingX
Sets the backdropPaddingX- Parameters:
backdropPaddingX
- Horizontal padding of label backdrop.
-
getBackdropPaddingY
Gets the backdropPaddingY- Returns:
- backdropPaddingY
-
setBackdropPaddingY
Sets the backdropPaddingY- Parameters:
backdropPaddingY
- Vertical padding of label backdrop.
-
isBeginAtZero
public boolean isBeginAtZero()Gets the beginAtZero- Returns:
- beginAtZero
-
setBeginAtZero
public void setBeginAtZero(boolean beginAtZero) Sets the beginAtZero- Parameters:
beginAtZero
- if true, scale will include 0 if it is not already included.
-
getMin
Gets the min- Returns:
- min
-
setMin
Sets the min- Parameters:
min
- User defined minimum number for the scale, overrides minimum value from data.
-
getMax
Gets the max- Returns:
- max
-
setMax
Sets the max- Parameters:
max
- User defined maximum number for the scale, overrides maximum value from data.
-
getMaxTicksLimit
Gets the maxTicksLimit- Returns:
- maxTicksLimit
-
setMaxTicksLimit
Sets the maxTicksLimit- Parameters:
maxTicksLimit
- Maximum number of ticks and gridlines to show.
-
getStepSize
Gets the stepSize- Returns:
- stepSize
-
setStepSize
Sets the stepSize- Parameters:
stepSize
- User defined fixed step size for the scale.
-
isShowLabelBackdrop
public boolean isShowLabelBackdrop()Gets the showLabelBackdrop- Returns:
- showLabelBackdrop
-
setShowLabelBackdrop
public void setShowLabelBackdrop(boolean showLabelBackdrop) Sets the showLabelBackdrop- Parameters:
showLabelBackdrop
- If true, draw a background behind the tick labels
-
encode
Write the radial linear ticks- Overrides:
encode
in classAxesTicks
- Returns:
- options as JSON object
- Throws:
IOException
- If an I/O error occurs
-