Class ConnectorStyle

java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.ConnectorStyle
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ChartConnectors, GanttSeriesItemDependency, SeriesConnectors

public class ConnectorStyle extends AbstractConfigurationObject
A configuration object to configure style of connectors (dependencies) between two points in a Gantt chart.
See Also:
  • Constructor Details

    • ConnectorStyle

      public ConnectorStyle()
  • Method Details

    • getDashStyle

      public DashStyle getDashStyle()
      See Also:
    • setDashStyle

      public void setDashStyle(DashStyle dashStyle)
      Set the default dash style for this chart's connecting lines. Defaults to solid.
    • getEndMarker

      public Marker getEndMarker()
      See Also:
    • setEndMarker

      public void setEndMarker(Marker endMarker)
      Marker options specific to the end markers for this chart's Pathfinder connectors. Overrides the generic marker options.
    • getLineColor

      public Color getLineColor()
      See Also:
    • setLineColor

      public void setLineColor(Color lineColor)
      Set the default color for this chart's Pathfinder connecting lines. Defaults to the color of the point being connected.
    • getLineWidth

      public Number getLineWidth()
      See Also:
    • setLineWidth

      public void setLineWidth(Number lineWidth)
      Set the default pixel width for this chart's Pathfinder connecting lines. Defaults to 1.
    • getMarker

      public Marker getMarker()
      See Also:
    • setMarker

      public void setMarker(Marker marker)
      Marker options for this chart's Pathfinder connectors. Note that this option is overridden by the startMarker and endMarker options.
    • getStartMarker

      public Marker getStartMarker()
      See Also:
    • setStartMarker

      public void setStartMarker(Marker startMarker)
      Marker options specific to the start markers for this chart's Pathfinder connectors. Overrides the generic marker options.
    • getType

      public PathfinderType getType()
      See Also:
    • setType

      public void setType(PathfinderType type)
      Set the default pathfinder algorithm to use for this chart.
      See Also: