Class TimeAxis

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class TimeAxis
    extends Axis
    implements java.lang.Cloneable
    • Constructor Detail

      • TimeAxis

        public TimeAxis​(java.lang.String label,
                        boolean xAxis)
        Constructor
        Parameters:
        label - Axis label
        xAxis - If is x axis
      • TimeAxis

        public TimeAxis​(Axis axis)
        Constructor
        Parameters:
        axis - Axis
    • Method Detail

      • getTimeFormat

        public java.lang.String getTimeFormat​()
        Get time format
        Returns:
        Time format
      • setTimeFormat

        public void setTimeFormat​(java.lang.String value)
        Set time format
        Parameters:
        value -
      • getTimeUnit

        public TimeUnit getTimeUnit​()
        Get time unit
        Returns:
        Time unit
      • setTimeUnit

        public void setTimeUnit​(TimeUnit value)
        Set time unit
        Parameters:
        value - Time unit
      • isVarFormat

        public boolean isVarFormat​()
        If variable time format
        Returns:
        Boolean
      • setVarFormat

        public void setVarFormat​(boolean value)
        Set if variable format
        Parameters:
        value - Boolean
      • updateTickLabels

        public void updateTickLabels​()
        Get tick labels
        Overrides:
        updateTickLabels in class Axis
      • updateTickValues

        public void updateTickValues​()
        Update time tick values
        Overrides:
        updateTickValues in class Axis
      • updateTimeLabels_back

        public void updateTimeLabels_back​()
        Update time labels
      • clone

        public java.lang.Object clone​()
                               throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class Axis
        Throws:
        java.lang.CloneNotSupportedException