Class CartesianTime

java.lang.Object
org.primefaces.model.charts.axes.cartesian.CartesianTime
All Implemented Interfaces:
Serializable

public abstract class CartesianTime extends Object implements Serializable
Common time options for cartesian types From ChartJs version 3.8.0
See Also:
  • Constructor Details

    • CartesianTime

      public CartesianTime()
  • Method Details

    • getDisplayFormats

      public String getDisplayFormats()
    • setDisplayFormats

      public void setDisplayFormats(String displayFormats)
    • getIsoWeekday

      public Number getIsoWeekday()
    • setIsoWeekday

      public void setIsoWeekday(Number isoWeekday)
    • getParser

      public String getParser()
    • setParser

      public void setParser(String parser)
    • getRound

      public String getRound()
    • setRound

      public void setRound(String round)
    • getTooltipFormat

      public String getTooltipFormat()
    • setTooltipFormat

      public void setTooltipFormat(String tooltipFormat)
    • getUnit

      public String getUnit()
    • setUnit

      public void setUnit(String unit)
    • getStepSize

      public Number getStepSize()
    • setStepSize

      public void setStepSize(Number stepSize)
    • getMinUnit

      public String getMinUnit()
    • setMinUnit

      public void setMinUnit(String minUnit)
    • encode

      public String encode() throws IOException
      Write the common ticks options
      Returns:
      options as JSON object
      Throws:
      IOException - If an I/O error occurs