public class Hover extends AbstractConfigurationObject
Modifier and Type | Method and Description |
---|---|
Boolean |
getAnimation() |
Color |
getBorderColor() |
Number |
getBrightness() |
Color |
getColor() |
Boolean |
getEnabled() |
Color |
getFillColor() |
Halo |
getHalo() |
Color |
getLineColor() |
Number |
getLineWidth() |
Number |
getLineWidthPlus() |
Marker |
getMarker() |
Number |
getOpacity() |
Number |
getRadius() |
Number |
getRadiusPlus() |
void |
setAnimation(Boolean animation)
Animation setting for hovering the graph in line-type series.
|
void |
setBorderColor(Color borderColor)
A specific border color for the hovered point.
|
void |
setBrightness(Number brightness)
How much to brighten the point on interaction.
|
void |
setColor(Color color)
A specific color for the hovered point.
|
void |
setEnabled(Boolean enabled)
Enable separate styles for the hovered series to visualize that the user
hovers either the series itself or the legend.
|
void |
setFillColor(Color fillColor)
The fill color of the marker in hover state.
|
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.
|
void |
setLineColor(Color lineColor)
The color of the point marker's outline.
|
void |
setLineWidth(Number lineWidth)
Pixel with of the graph line.
|
void |
setLineWidthPlus(Number lineWidthPlus)
The additional line width for the graph of a hovered series.
|
void |
setMarker(Marker marker) |
void |
setOpacity(Number opacity)
The opacity of a point in treemap.
|
void |
setRadius(Number radius)
The radius of the point marker.
|
void |
setRadiusPlus(Number radiusPlus)
The number of pixels to increase the radius of the hovered point.
|
public Hover()
public Hover(Boolean enabled)
public Boolean getAnimation()
setAnimation(Boolean)
public void setAnimation(Boolean animation)
Defaults to: { "duration": 50 }
public Boolean getEnabled()
setEnabled(Boolean)
public void setEnabled(Boolean enabled)
Defaults to: true
public Halo getHalo()
setHalo(Halo)
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}
.
public Number getLineWidth()
setLineWidth(Number)
public void setLineWidth(Number lineWidth)
Defaults to: 2
public Number getLineWidthPlus()
setLineWidthPlus(Number)
public void setLineWidthPlus(Number lineWidthPlus)
Defaults to: 1
public Color getFillColor()
setFillColor(Color)
public void setFillColor(Color fillColor)
public Color getLineColor()
setLineColor(Color)
public void setLineColor(Color lineColor)
null
, the
series' or point's color is used.
Defaults to: #ffffff
public Number getRadius()
setRadius(Number)
public void setRadius(Number radius)
public Number getRadiusPlus()
setRadiusPlus(Number)
public void setRadiusPlus(Number radiusPlus)
Defaults to: 2
public Color getBorderColor()
setBorderColor(Color)
public void setBorderColor(Color borderColor)
public Number getBrightness()
setBrightness(Number)
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
public Color getColor()
setColor(Color)
public void setColor(Color color)
Defaults to: undefined
public Number getOpacity()
setOpacity(Number)
public void setOpacity(Number opacity)
Defaults to: 0.75
public Marker getMarker()
setMarker(Marker)
public void setMarker(Marker marker)
Copyright © 2021. All rights reserved.