Class CartesianCategoryTicks
java.lang.Object
org.primefaces.model.charts.axes.cartesian.CartesianTicks
org.primefaces.model.charts.axes.cartesian.category.CartesianCategoryTicks
- All Implemented Interfaces:
Serializable
Used to provide cartesian category ticks. CartesianCategoryTicks extends
CartesianTicks- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.primefaces.model.charts.axes.cartesian.CartesianTicks
getAutoSkipPadding, getLabelOffset, getMaxRotation, getMinRotation, getPadding, isAutoSkip, isMirror, setAutoSkip, setAutoSkipPadding, setLabelOffset, setMaxRotation, setMinRotation, setMirror, setPadding
-
Constructor Details
-
CartesianCategoryTicks
public CartesianCategoryTicks()
-
-
Method Details
-
getLabels
Gets the labels- Returns:
- labels
-
setLabels
Sets the labels- Parameters:
labels- List<String> list of labels to display.
-
getMin
Gets the min- Returns:
- min
-
setMin
Sets the min- Parameters:
min- The minimum item to display.
-
getMax
Gets the max- Returns:
- max
-
setMax
Sets the max- Parameters:
max- The maximum item to display.
-
encode
Write the options of cartesian category ticks- Overrides:
encodein classCartesianTicks- Returns:
- options as JSON object
- Throws:
IOException- If an I/O error occurs
-