com.vaadin.flow.component.charts.model.

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}.

      • 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

      • setMarker

        public void setMarker(Marker marker)