Class GaugeDialPlotOptions

    • Constructor Detail

      • GaugeDialPlotOptions

        public GaugeDialPlotOptions()
    • Method Detail

      • getBackgroundColor

        public Color getBackgroundColor()
        Returns the background or fill color of the gauge's dial.

        Default: "var(--highcharts-neutral-color-100)".

      • setBackgroundColor

        public void setBackgroundColor​(Color color)
        Sets the background or fill color of the gauge's dial.
      • setBackgroundColor

        public void setBackgroundColor​(String color)
        Sets the background or fill color of the gauge's dial.
      • setBackgroundColor

        public void setBackgroundColor​(LinearGradient color)
        Sets the background or fill color of the gauge's dial.
      • setBackgroundColor

        public void setBackgroundColor​(RadialGradient color)
        Sets the background or fill color of the gauge's dial.
      • getBaseLength

        public String getBaseLength()
        Returns the length of the dial's base part, relative to the total radius or length of the dial.

        Default: 0.

      • setBaseLength

        public void setBaseLength​(String baseLength)
        Sets the length of the dial's base part, relative to the total radius or length of the dial.
      • setBaseLength

        public void setBaseLength​(Number baseLength)
        Sets the length of the dial's base part in pixels.
        Since:
        13.1.1.0
      • getBaseWidth

        public Object getBaseWidth()
        Returns the width of the base of the gauge dial. The base is the part closest to the pivot, defined by baseLength.

        Default: null.

      • setBaseWidth

        public void setBaseWidth​(Number baseWidth)
        Sets the pixel width of the base of the gauge dial. The base is the part closest to the pivot, defined by baseLength.
      • setBaseWidth

        public void setBaseWidth​(String baseWidth)
        Sets the width of the base of the gauge dial as a percentage of the dial radius, such as "18%".
        Since:
        13.1.1.0
      • getBorderColor

        public Color getBorderColor()
        Returns the border color or stroke of the gauge's dial. By default, the borderWidth is 0, so this must be set in addition to a custom border color.

        Default: "var(--highcharts-neutral-color-20)".

      • setBorderColor

        public void setBorderColor​(Color color)
        Sets the border color or stroke of the gauge's dial. By default, the borderWidth is 0, so this must be set in addition to a custom border color.
      • setBorderColor

        public void setBorderColor​(String color)
        Sets the border color or stroke of the gauge's dial. By default, the borderWidth is 0, so this must be set in addition to a custom border color.
      • setBorderColor

        public void setBorderColor​(LinearGradient color)
        Sets the border color or stroke of the gauge's dial. By default, the borderWidth is 0, so this must be set in addition to a custom border color.
      • stBorderColor

        public void stBorderColor​(RadialGradient color)
        Sets the border color or stroke of the gauge's dial. By default, the borderWidth is 0, so this must be set in addition to a custom border color.
      • getBorderRadius

        public Object getBorderRadius()
        Returns the border radius of the gauge dial.

        Default: 9%.

        Since:
        13.1.1.0
      • setBorderRadius

        public void setBorderRadius​(Number borderRadius)
        Sets the border radius of the gauge dial in pixels.
        Since:
        13.1.1.0
      • setBorderRadius

        public void setBorderRadius​(String borderRadius)
        Sets the border radius of the gauge dial as a percentage of the dial radius, such as "9%".
        Since:
        13.1.1.0
      • getBorderWidth

        public Number getBorderWidth()
        Returns the width of the gauge dial border in pixels.

        Default: 0.

      • setBorderWidth

        public void setBorderWidth​(Number borderWidth)
        Sets the width of the gauge dial border in pixels.
      • getRadius

        public String getRadius()
        Returns the radius or length of the dial, in percentages relative to the radius of the gauge itself.

        Default: 70%.

      • setRadius

        public void setRadius​(String radius)
        Sets the radius or length of the dial, in percentages relative to the radius of the gauge itself.
      • setRadius

        public void setRadius​(Number radius)
        Sets the radius or length of the dial in pixels.
        Since:
        13.1.1.0
      • getRearLength

        public String getRearLength()
        Returns the length of the dial's rear end, the part that extends out on the other side of the pivot. Relative to the dial's length.

        Default: 9%.

      • setRearLength

        public void setRearLength​(String rearLength)
        Sets the length of the dial's rear end, the part that extends out on the other side of the pivot. Relative to the dial's length.
      • setRearLength

        public void setRearLength​(Number rearLength)
        Sets the length of the dial's rear end in pixels.
        Since:
        13.1.1.0
      • getTopWidth

        public Object getTopWidth()
        Returns the width of the top of the dial, closest to the perimeter. The pivot narrows in from the base to the top.

        Default: null.

      • setTopWidth

        public void setTopWidth​(Number topWidth)
        Sets the width of the top of the dial, closest to the perimeter. The pivot narrows in from the base to the top.
      • setTopWidth

        public void setTopWidth​(String topWidth)
        Sets the width of the top of the dial as a percentage of the dial radius, such as "4%".
        Since:
        13.1.1.0