Interface AdvancedMarker<T extends Series>

Type Parameters:
T - Series type
All Known Implementing Classes:
AreaSeries, BubbleSeries, DotSeries, LineSeries

public interface AdvancedMarker<T extends Series>

You can set the marker style for charts implementing this interface.
The interface enables you to set the markers’ fill and line color, and also line width.

You can customize the markers for the following charts:

  • Line chart
  • Dot chart
  • Area chart
  • Stacked area chart
  • Bubble chart

Since:
4.0
Author:
JBStrap
See Also:
  • Field Details

  • Method Details

    • setMarkerFillColor

      default T setMarkerFillColor(String fillColor)
      Sets the chart marker fill color.
      Parameters:
      fillColor - Marker fill color Colors must be specified using the CSS3 format.
      Returns:
      Series object
    • getMarkerFillColor

      default String getMarkerFillColor()
      Gets the chart marker fill color.
      Returns:
      Marker fill color
    • setShowMarker

      default T setShowMarker(boolean show)
      Sets if the marker should be displayed on the chart. By default, the marker is visible.
      Parameters:
      show - If true is specified, the marker is displayed on the chart, otherwise not
      Returns:
      Series object
    • isShowMarker

      default boolean isShowMarker()
      Checks if the marker is displayed on the chart.
      Returns:
      If true, the marker is displayed, otherwise false
    • setMarkerLineColor

      default T setMarkerLineColor(String lineColor)
      Sets the marker line color.
      Parameters:
      lineColor - Marker line color Line color must be specified using the CSS3 format.
      Returns:
      Series object
    • getMarkerLineColor

      default String getMarkerLineColor()
      Gets the marker line color.
      Returns:
      Marker line color
    • setMarkerLineWidth

      default T setMarkerLineWidth(int lineWidth)
      Sets the marker line width. The default line width is 2 pixels.
      Parameters:
      lineWidth - Marker line width Lie width must be specified in pixels.
      Returns:
      Series object
    • getMarkerLineWidth

      default int getMarkerLineWidth()
      Gets the marker line width.
      Returns:
      Marker line width in pixels