Class YAxisTitle

    • Constructor Detail

      • YAxisTitle

        public YAxisTitle()
    • Method Detail

      • getMargin

        public Number getMargin()
        Returns the pixel distance between the axis labels and the title. Positive values are outside the axis line, negative are inside.

        Default: 40.

        Overrides:
        getMargin in class AxisTitle
        Since:
        11.2.0.0
      • getRotation

        public Number getRotation()
        Returns the rotation of the text in degrees. 0 is horizontal, 270 is vertical reading from bottom to top.

        Default: 270.

        Overrides:
        getRotation in class AxisTitle
        Returns:
        rotation the rotation of the text in degrees
      • setRotation

        public void setRotation​(Number rotation)
        Sets the rotation of the text in degrees. 0 is horizontal, 270 is vertical reading from bottom to top.
        Overrides:
        setRotation in class AxisTitle
      • getText

        public String getText()
        Returns the actual text of the axis title. It can contain basic HTML text markup like <b>, <i> and spans with style.

        Default: "Values".

        Overrides:
        getText in class AxisTitle
      • setText

        public void setText​(String text)
        Sets the actual text of the axis title. It can contain basic HTML text markup like <b>, <i> and spans with style.
        Overrides:
        setText in class AxisTitle