Class RadialLinearTicks
- java.lang.Object
-
- org.primefaces.model.charts.axes.AxesTicks
-
- org.primefaces.model.charts.axes.radial.linear.RadialLinearTicks
-
- All Implemented Interfaces:
Serializable
public class RadialLinearTicks extends AxesTicks
Used to provide radial linear ticks. RadialLinearTicks extendsAxesTicks- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RadialLinearTicks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringencode()Write the radial linear ticksStringgetBackdropColor()Gets the backdropColorNumbergetBackdropPaddingX()Gets the backdropPaddingXNumbergetBackdropPaddingY()Gets the backdropPaddingYNumbergetMax()Gets the maxNumbergetMaxTicksLimit()Gets the maxTicksLimitNumbergetMin()Gets the minNumbergetStepSize()Gets the stepSizeNumbergetSuggestedMax()Gets the suggestedMaxNumbergetSuggestedMin()Gets the suggestedMinbooleanisBeginAtZero()Gets the beginAtZerobooleanisShowLabelBackdrop()Gets the showLabelBackdropvoidsetBackdropColor(String backdropColor)Sets the backdropColorvoidsetBackdropPaddingX(Number backdropPaddingX)Sets the backdropPaddingXvoidsetBackdropPaddingY(Number backdropPaddingY)Sets the backdropPaddingYvoidsetBeginAtZero(boolean beginAtZero)Sets the beginAtZerovoidsetMax(Number max)Sets the maxvoidsetMaxTicksLimit(Number maxTicksLimit)Sets the maxTicksLimitvoidsetMin(Number min)Sets the minvoidsetShowLabelBackdrop(boolean showLabelBackdrop)Sets the showLabelBackdropvoidsetStepSize(Number stepSize)Sets the stepSizevoidsetSuggestedMax(Number suggestedMax)Sets the suggestedMaxvoidsetSuggestedMin(Number suggestedMin)Sets the suggestedMin-
Methods inherited from class org.primefaces.model.charts.axes.AxesTicks
getFontColor, getFontFamily, getFontSize, getFontStyle, isDisplay, isReverse, setDisplay, setFontColor, setFontFamily, setFontSize, setFontStyle, setReverse
-
-
-
-
Method Detail
-
getBackdropColor
public String getBackdropColor()
Gets the backdropColor- Returns:
- backdropColor
-
setBackdropColor
public void setBackdropColor(String backdropColor)
Sets the backdropColor- Parameters:
backdropColor- Color of label backdrops
-
getBackdropPaddingX
public Number getBackdropPaddingX()
Gets the backdropPaddingX- Returns:
- backdropPaddingX
-
setBackdropPaddingX
public void setBackdropPaddingX(Number backdropPaddingX)
Sets the backdropPaddingX- Parameters:
backdropPaddingX- Horizontal padding of label backdrop.
-
getBackdropPaddingY
public Number getBackdropPaddingY()
Gets the backdropPaddingY- Returns:
- backdropPaddingY
-
setBackdropPaddingY
public void setBackdropPaddingY(Number backdropPaddingY)
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
public Number getMin()
Gets the min- Returns:
- min
-
setMin
public void setMin(Number min)
Sets the min- Parameters:
min- User defined minimum number for the scale, overrides minimum value from data.
-
getMax
public Number getMax()
Gets the max- Returns:
- max
-
setMax
public void setMax(Number max)
Sets the max- Parameters:
max- User defined maximum number for the scale, overrides maximum value from data.
-
getMaxTicksLimit
public Number getMaxTicksLimit()
Gets the maxTicksLimit- Returns:
- maxTicksLimit
-
setMaxTicksLimit
public void setMaxTicksLimit(Number maxTicksLimit)
Sets the maxTicksLimit- Parameters:
maxTicksLimit- Maximum number of ticks and gridlines to show.
-
getStepSize
public Number getStepSize()
Gets the stepSize- Returns:
- stepSize
-
setStepSize
public void setStepSize(Number stepSize)
Sets the stepSize- Parameters:
stepSize- User defined fixed step size for the scale.
-
getSuggestedMax
public Number getSuggestedMax()
Gets the suggestedMax- Returns:
- suggestedMax
-
setSuggestedMax
public void setSuggestedMax(Number suggestedMax)
Sets the suggestedMax- Parameters:
suggestedMax- Adjustment used when calculating the maximum data value.
-
getSuggestedMin
public Number getSuggestedMin()
Gets the suggestedMin- Returns:
- suggestedMin
-
setSuggestedMin
public void setSuggestedMin(Number suggestedMin)
Sets the suggestedMin- Parameters:
suggestedMin- Adjustment used when calculating the minimum data value.
-
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
public String encode() throws IOException
Write the radial linear ticks- Overrides:
encodein classAxesTicks- Returns:
- options as JSON object
- Throws:
IOException- If an I/O error occurs
-
-