Class ScaleTickItem


  • public final class ScaleTickItem
    extends NativeObjectContainer
    The tick item maps the objects passed a ScaleItem.
    This is a wrapper of the CHART.JS item with all needed info.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getLabel

        public String getLabel()
        Returns the label of the tick.
        Returns:
        the label of the tick or Undefined.STRING if missing.
      • getValue

        public double getValue()
        Returns the value of the tick as double.
        Returns:
        the value of the tick or Undefined.DOUBLE if missing or not a double.
      • getValueAsString

        public String getValueAsString()
        Returns the value of the tick as string.
        Returns:
        the value of the tick or Undefined.STRING if missing or not a string.
      • getValueAsDate

        public Date getValueAsDate()
        Returns the date of the tick.
        Returns:
        the date of the tick or null if missing.