Class Halo
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.Halo
- All Implemented Interfaces:
Serializable
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}
.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSize()
void
setAttributes
(Attributes attributes) A collection of SVG attributes to override the appearance of the halo, for examplefill
,stroke
andstroke-width
.void
setOpacity
(Number opacity) Opacity for the halo unless a specific fill is overridden using theattributes
setting.void
The pixel size of the halo.
-
Constructor Details
-
Halo
public Halo()
-
-
Method Details
-
getAttributes
- See Also:
-
setAttributes
A collection of SVG attributes to override the appearance of the halo, for examplefill
,stroke
andstroke-width
. -
getOpacity
- See Also:
-
setOpacity
Opacity for the halo unless a specific fill is overridden using theattributes
setting. Note that Highcharts is only able to apply opacity to colors of hex or rgb(a) formats.Defaults to: 0.25
-
getSize
- See Also:
-
setSize
The pixel size of the halo. For point markers this is the radius of the halo. For pie slices it is the width of the halo outside the slice. For bubbles it defaults to 5 and is the width of the halo outside the bubble.Defaults to: 10
-