Class ScaleLabelBackdropOptions


  • public final class ScaleLabelBackdropOptions
    extends NativeObjectContainer
    The label options maps the labels backdrop options computed by ScaleItem.
    This is a wrapper of the CHART.JS item with all needed info.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getTop

        public double getTop()
        Returns the top of chart area.
        Returns:
        the top of chart area.
      • getLeft

        public double getLeft()
        Returns the left of chart area.
        Returns:
        the left of chart area.
      • getWidth

        public double getWidth()
        Returns the width in pixel.
        Returns:
        the width in pixel.
      • getHeight

        public double getHeight()
        Returns the height in pixel.
        Returns:
        the height in pixel.
      • getColorAsString

        public String getColorAsString()
        Returns the color of the label of the scale.
        Returns:
        the color of the label of the scale
      • getColor

        public IsColor getColor()
        Returns the color of the label of the scale.
        Returns:
        the color of the label of the scale