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

All Implemented Interfaces:

Serializable

public class Marker extends AbstractConfigurationObject

In Highcharts 1.0, the appearance of all markers belonging to the hovered series. For settings on the hover state of the individual point, see marker.states.hover.

See Also:

  • Constructor Details

    • Marker

      public Marker()
    • Marker

      public Marker(Boolean enabled)
  • Method Details

    • getEnabled

      public Boolean getEnabled()

      See Also:

    • setEnabled

      public void setEnabled(Boolean enabled)

      Enable or disable the point marker. If null, the markers are hidden when the data is dense, and shown for more widespread data points.

      Defaults to: null

    • getFillColor

      public Color getFillColor()

      See Also:

    • setFillColor

      public void setFillColor(Color fillColor)

      The fill color of the point marker. When null, the series' or point's color is used.

    • getHeight

      public Number getHeight()

      See Also:

    • setHeight

      public void setHeight(Number height)

      Image markers only. Set the image width explicitly. When using this option, a width must also be set.

      Defaults to: null

    • getLineColor

      public Color getLineColor()

      See Also:

    • 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

    • getLineWidth

      public Number getLineWidth()

      See Also:

    • setLineWidth

      public void setLineWidth(Number lineWidth)

      The width of the point marker's outline.

      Defaults to: 0

    • getRadius

      public Number getRadius()

      See Also:

    • setRadius

      public void setRadius(Number radius)

      The radius of the point marker.

      Defaults to: 4

    • getStates

      public States getStates()

      See Also:

    • setStates

      public void setStates(States states)
    • getWidth

      public Number getWidth()

      See Also:

    • setWidth

      public void setWidth(Number width)

      Image markers only. Set the image width explicitly. When using this option, a height must also be set.

      Defaults to: null

    • getSymbol

      public MarkerSymbol getSymbol()

      See Also:

    • setSymbol

      public void setSymbol(MarkerSymbol symbol)
    • getAlign

      public HorizontalAlign getAlign()

      See Also:

    • setAlign

      public void setAlign(HorizontalAlign align)

      Supported only in Gantt charts: Horizontal alignment of the markers relative to the points. Defaults to "center"

    • getVerticalAlign

      public VerticalAlign getVerticalAlign()

      See Also:

    • setVerticalAlign

      public void setVerticalAlign(VerticalAlign verticalAlign)

      Supported only in Gantt charts: Vertical alignment of the markers relative to the points. Defaults to "middle"

    • getInside

      public Boolean getInside()

      See Also:

    • setInside

      public void setInside(Boolean inside)

      Supported only in Gantt charts: Whether to draw the markers inside the points. Defaults to false.