com.vaadin.flow.component.charts.model.
Class Halo
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Halo
-
All Implemented Interfaces:
@Generated(value="This class is generated and shouldn\'t be modified", comments="Incorrect and missing API should be reported to https://github.com/vaadin/vaadin-charts-flow/issues/new") public class Halo extends AbstractConfigurationObject
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 tofalse
.In styled mode, the halo is styled with the
.highcharts-halo
class, with colors inherited from.highcharts-color-{n}
.See Also:
-
-
Constructor Summary
Constructors Constructor and Description Halo()
-
Method Summary
All Methods Modifier and Type Method and Description Attributes
getAttributes()
Number
getOpacity()
Number
getSize()
void
setAttributes(Attributes attributes)
A collection of SVG attributes to override the appearance of the halo, for example
fill
,stroke
andstroke-width
.void
setOpacity(Number opacity)
Opacity for the halo unless a specific fill is overridden using the
attributes
setting.void
setSize(Number size)
The pixel size of the halo.
-
-
-
Method Detail
-
getAttributes
public Attributes getAttributes()
See Also:
-
setAttributes
public void setAttributes(Attributes attributes)
A collection of SVG attributes to override the appearance of the halo, for example
fill
,stroke
andstroke-width
.
-
getOpacity
public Number getOpacity()
See Also:
-
setOpacity
public void setOpacity(Number opacity)
Opacity for the halo unless a specific fill is overridden using the
attributes
setting. Note that Highcharts is only able to apply opacity to colors of hex or rgb(a) formats.Defaults to: 0.25
-
getSize
public Number getSize()
See Also:
-
setSize
public void setSize(Number size)
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
-
-