Class DateTimeLabelFormat

    • Constructor Detail

      • DateTimeLabelFormat

        public DateTimeLabelFormat()
    • Method Detail

      • getBoundary

        public String getBoundary()
        Returns the label format used when a tick is a boundary tick, for example the start of a day or a year. Only the hour, day, month and year units have a boundary format.

        Default: null

      • setBoundary

        public void setBoundary​(String boundary)
        Sets the label format used when a tick is a boundary tick, for example the start of a day or a year. Only the hour, day, month and year units have a boundary format.
      • getList

        public List<String> getList()
        Returns the list of possible formats for this unit. Grid axes pick one of them depending on the available space.

        Default: null

      • setList

        public void setList​(List<String> list)
        Sets the list of possible formats for this unit. Grid axes pick one of them depending on the available space.
      • setList

        public void setList​(String... list)
        Sets the list of possible formats for this unit. Grid axes pick one of them depending on the available space.
      • getMain

        public String getMain()
        Returns the main label format for this unit.

        Default: null

      • setMain

        public void setMain​(String main)
        Sets the main label format for this unit.