Class DragHandle
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.DragHandle
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()voidsetClassName(String className) The class name of the drag handles.voidThe fill color of the drag handles.voidThe mouse cursor to use for the drag handles.voidsetLineColor(Color lineColor) The line color of the drag handles.voidsetLineWidth(Number lineWidth) The line width for the drag handles.voidsetPathFormatter(String _fn_pathFormatter) Function to define the SVG path to use for the drag handles.voidThe z index for the drag handles.
-
Constructor Details
-
DragHandle
public DragHandle()
-
-
Method Details
-
getClassName
- See Also:
-
setClassName
The class name of the drag handles. Defaults to highcharts-drag-handle. Defaults to highcharts-drag-handle.- Parameters:
className-
-
getColor
- See Also:
-
setColor
The fill color of the drag handles. Defaults to #fff.- Parameters:
color-
-
getCursor
- See Also:
-
setCursor
The mouse cursor to use for the drag handles. By default this is intelligently switching between ew-resize and ns-resize depending on the direction the point is being dragged.- Parameters:
cursor-
-
getLineColor
- See Also:
-
setLineColor
The line color of the drag handles. Defaults to rgba(0, 0, 0, 0.6).- Parameters:
lineColor-
-
getLineWidth
- See Also:
-
setLineWidth
The line width for the drag handles. Defaults to 1.- Parameters:
lineWidth-
-
getzIndex
- See Also:
-
setzIndex
The z index for the drag handles. Defaults to 901.- Parameters:
zIndex-
-
getPathFormatter
- See Also:
-
setPathFormatter
Function to define the SVG path to use for the drag handles. Takes the point as argument. Should return an SVG path in array format. The SVG path is automatically positioned on the point.- Parameters:
_fn_pathFormatter-
-