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

Class ChartConnectors

All Implemented Interfaces:

Serializable

public class ChartConnectors extends ConnectorStyle

A configuration object to configure style of connectors (dependencies) between two points in a Gantt chart.

See Also:

  • Constructor Details

    • ChartConnectors

      public ChartConnectors()
  • Method Details

    • getAlgorithmMargin

      public Number getAlgorithmMargin()

      See Also:

    • setAlgorithmMargin

      public void setAlgorithmMargin(Number algorithmMargin)

      Set the default pathfinder margin to use, in pixels. Some Pathfinder algorithms attempt to avoid obstacles, such as other points in the chart. These algorithms use this margin to determine how close lines can be to an obstacle. The default is to compute this automatically from the size of the obstacles in the chart. To draw connecting lines close to existing points, set this to a low number. For more space around existing points, set this number higher.

    • getEnabled

      public Boolean getEnabled()

      See Also:

    • setEnabled

      public void setEnabled(Boolean enabled)

      Enable connectors for this chart. Requires Highcharts Gantt. Defaults to true.