Class Position

    • Method Detail

      • setX

        public void setX​(Number x)
        Sets the x offset.
        Parameters:
        x -
      • getX

        public Number getX()
        Returns the x offset.
      • setY

        public void setY​(Number y)
        Sets the y offset.
        Parameters:
        y -
      • getY

        public Number getY()
        Returns the y offset.
      • setAlign

        public void setAlign​(String align)
        Sets the alignment of the position
      • getAlign

        public String getAlign()
        Returns the alignment of the position

        Default: null

      • setVerticalAlign

        public void setVerticalAlign​(String verticalAlign)
        Sets the vertical alignment of the position
      • getVerticalAlign

        public String getVerticalAlign()
        Returns the vertical alignment of the position

        Default: null

      • setRelativeTo

        public void setRelativeTo​(String relativeTo)
        Sets what the fixed tooltip alignment should be relative to. The default, pane, means that it is aligned within the plot area for that given series. If the tooltip is split (as default in Stock charts), each partial tooltip is aligned within the series' pane. Accepted values: "pane", "chart", "plotBox", "spacingBox" Notice that this property is only used in Tooltip

        Default: "pane".

        Since:
        12.2.0.0
      • getRelativeTo

        public String getRelativeTo()
        Returns what the fixed tooltip alignment should be relative to. The default, pane, means that it is aligned within the plot area for that given series. If the tooltip is split (as default in Stock charts), each partial tooltip is aligned within the series' pane. Accepted values: "pane", "chart", "plotBox", "spacingBox" Notice that this property is only used in Tooltip

        Default: "pane".

        Since:
        12.2.0.0