Class Hover

    • Constructor Detail

      • Hover

        public Hover()
      • Hover

        public Hover​(Boolean enabled)
    • Method Detail

      • setAnimation

        public void setAnimation​(Boolean animation)
        Animation setting for hovering the graph in line-type series.

        Defaults to: { "duration": 50 }

      • setEnabled

        public void setEnabled​(Boolean enabled)
        Enable separate styles for the hovered series to visualize that the user hovers either the series itself or the legend. .

        Defaults to: true

      • setHalo

        public void setHalo​(Halo halo)

        Options for the halo appearing around the hovered point in line-type series as well as outside the hovered slice in pie charts. By default the halo is filled by the current point or series color with an opacity of 0.25. The halo can be disabled by setting the halo option to false.

        In styled mode, the halo is styled with the .highcharts-halo class, with colors inherited from .highcharts-color-{n}.

      • setLineWidth

        public void setLineWidth​(Number lineWidth)
        Pixel with of the graph line.

        Defaults to: 2

      • setLineWidthPlus

        public void setLineWidthPlus​(Number lineWidthPlus)
        The additional line width for the graph of a hovered series.

        Defaults to: 1

      • setFillColor

        public void setFillColor​(Color fillColor)
        The fill color of the marker in hover state.
      • setLineColor

        public void setLineColor​(Color lineColor)
        The color of the point marker's outline. When null, the series' or point's color is used.

        Defaults to: #ffffff

      • setRadius

        public void setRadius​(Number radius)
        The radius of the point marker. In hover state, it defaults to the normal state's radius + 2 as per the radiusPlus option.
      • setRadiusPlus

        public void setRadiusPlus​(Number radiusPlus)
        The number of pixels to increase the radius of the hovered point.

        Defaults to: 2

      • setBorderColor

        public void setBorderColor​(Color borderColor)
        A specific border color for the hovered point. Defaults to inherit the normal state border color.
      • setBrightness

        public void setBrightness​(Number brightness)

        How much to brighten the point on interaction. Requires the main color to be defined in hex or rgb(a) format.

        In styled mode, the hover brightening is by default replaced with a fill-opacity set in the .highcharts-point:hover rule.

        Defaults to: 0.1

      • setColor

        public void setColor​(Color color)
        A specific color for the hovered point.

        Defaults to: undefined

      • setOpacity

        public void setOpacity​(Number opacity)
        The opacity of a point in treemap. When a point has children, the visibility of the children is determined by the opacity.

        Defaults to: 0.75

      • setMarker

        public void setMarker​(Marker marker)