com.vaadin.flow.component.charts.model.
Class DragHandle
All Implemented Interfaces:
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
void
setClassName
(String className) The class name of the drag handles.
void
The fill color of the drag handles.
void
The mouse cursor to use for the drag handles.
void
setLineColor
(Color lineColor) The line color of the drag handles.
void
setLineWidth
(Number lineWidth) The line width for the drag handles.
void
setPathFormatter
(String _fn_pathFormatter) Function to define the SVG path to use for the drag handles.
void
The 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
-
-