com.vaadin.flow.component.charts.model.
Class ChartConnectors
All Implemented Interfaces:
A configuration object to configure style of connectors (dependencies) between two points in a Gantt chart.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setAlgorithmMargin
(Number algorithmMargin) Set the default pathfinder margin to use, in pixels.
void
setEnabled
(Boolean enabled) Enable connectors for this chart.
Methods inherited from class com.vaadin.flow.component.charts.model.ConnectorStyle
getDashStyle, getEndMarker, getLineColor, getLineWidth, getMarker, getStartMarker, getType, setDashStyle, setEndMarker, setLineColor, setLineWidth, setMarker, setStartMarker, setType
-
Constructor Details
-
ChartConnectors
public ChartConnectors()
-
-
Method Details
-
getAlgorithmMargin
See Also:
-
setAlgorithmMargin
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
See Also:
-
setEnabled
Enable connectors for this chart. Requires Highcharts Gantt. Defaults to true.
-