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
Constructors -
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 stepSizebooleanGets the beginAtZerobooleanGets the showLabelBackdropvoidsetBackdropColor(String backdropColor) Sets the backdropColorvoidsetBackdropPaddingX(Number backdropPaddingX) Sets the backdropPaddingXvoidsetBackdropPaddingY(Number backdropPaddingY) Sets the backdropPaddingYvoidsetBeginAtZero(boolean beginAtZero) Sets the beginAtZerovoidSets the maxvoidsetMaxTicksLimit(Number maxTicksLimit) Sets the maxTicksLimitvoidSets the minvoidsetShowLabelBackdrop(boolean showLabelBackdrop) Sets the showLabelBackdropvoidsetStepSize(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:
encodein classAxesTicks- Returns:
- options as JSON object
- Throws:
IOException- If an I/O error occurs
-