Class CartesianCategoryTicks

java.lang.Object
org.primefaces.model.charts.axes.cartesian.CartesianTicks
org.primefaces.model.charts.axes.cartesian.category.CartesianCategoryTicks
All Implemented Interfaces:
Serializable

public class CartesianCategoryTicks extends CartesianTicks
Used to provide cartesian category ticks. CartesianCategoryTicks extends CartesianTicks
See Also:
  • Constructor Details

    • CartesianCategoryTicks

      public CartesianCategoryTicks()
  • Method Details

    • getLabels

      public List<String> getLabels()
      Gets the labels
      Returns:
      labels
    • setLabels

      public void setLabels(List<String> labels)
      Sets the labels
      Parameters:
      labels - List<String> list of labels to display.
    • getMin

      public String getMin()
      Gets the min
      Returns:
      min
    • setMin

      public void setMin(String min)
      Sets the min
      Parameters:
      min - The minimum item to display.
    • getMax

      public String getMax()
      Gets the max
      Returns:
      max
    • setMax

      public void setMax(String max)
      Sets the max
      Parameters:
      max - The maximum item to display.
    • encode

      public String encode() throws IOException
      Write the options of cartesian category ticks
      Overrides:
      encode in class CartesianTicks
      Returns:
      options as JSON object
      Throws:
      IOException - If an I/O error occurs