Class DragDrop
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.DragDrop
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDraggableEnd(Boolean draggableEnd) Supported only in Gantt chart: Allow end value to be dragged individually.voidsetDraggableStart(Boolean draggableStart) Supported only in Gantt chart: Allow start value to be dragged individually.voidsetDraggableX(Boolean draggableX) Enable dragging in the X dimension.voidsetDraggableX1(Boolean draggableX1) Allow X1 value to be dragged individually.voidsetDraggableX2(Boolean draggableX2) Allow X2 value to be dragged individually.voidsetDraggableY(Boolean draggableY) Enable dragging in the Y dimension.voidsetDragHandle(DragHandle dragHandle) Options for the drag handles.voidsetDragMaxX(Number dragMaxX) Set the maximum X value the points can be moved to.voidsetDragMaxY(Number dragMaxY) Set the maximum Y value the points can be moved to.voidsetDragMinX(Number dragMinX) Set the minimum X value the points can be moved to.voidsetDragMinY(Number dragMinY) Set the minimum Y value the points can be moved to.voidsetDragPrecisionX(Number dragPrecisionX) The X precision value to drag to for this series.voidsetDragPrecisionY(Number dragPrecisionY) The Y precision value to drag to for this series.voidsetDragSensitivity(Number dragSensitivity) The amount of pixels to drag the pointer before it counts as a drag operation.voidsetGroupBy(String groupBy) Group the points by a property.voidsetGuideBox(GuideBox guideBox) Style options for the guide box.voidsetLiveRedraw(Boolean liveRedraw) Update points as they are dragged.
-
Constructor Details
-
DragDrop
public DragDrop()
-
-
Method Details
-
getDraggableEnd
- See Also:
-
setDraggableEnd
Supported only in Gantt chart: Allow end value to be dragged individually. Defaults to true.- Parameters:
draggableEnd-
-
getDraggableStart
- See Also:
-
setDraggableStart
Supported only in Gantt chart: Allow start value to be dragged individually. Defaults to true.- Parameters:
draggableStart-
-
getDraggableX
- See Also:
-
setDraggableX
Enable dragging in the X dimension.- Parameters:
draggableX-
-
getDraggableX1
- See Also:
-
setDraggableX1
Allow X1 value to be dragged individually. Defaults to true.- Parameters:
draggableX1-
-
getDraggableX2
- See Also:
-
setDraggableX2
Allow X2 value to be dragged individually. Defaults to true.- Parameters:
draggableX2-
-
getDraggableY
- See Also:
-
setDraggableY
Enable dragging in the Y dimension. Note that this is not supported for TreeGrid axes (the default axis type in Gantt charts).- Parameters:
draggableY-
-
getDragHandle
- See Also:
-
setDragHandle
Options for the drag handles.- Parameters:
dragHandle-
-
getDragMaxX
- See Also:
-
setDragMaxX
Set the maximum X value the points can be moved to.- Parameters:
dragMaxX-
-
getDragMaxY
- See Also:
-
setDragMaxY
Set the maximum Y value the points can be moved to.- Parameters:
dragMaxY-
-
getDragMinX
- See Also:
-
setDragMinX
Set the minimum X value the points can be moved to.- Parameters:
dragMinX-
-
getDragMinY
- See Also:
-
setDragMinY
Set the minimum Y value the points can be moved to.- Parameters:
dragMinY-
-
getDragPrecisionX
- See Also:
-
setDragPrecisionX
The X precision value to drag to for this series. Set to 0 to disable. By default this is disabled, except for category axes, where the default is 1. Defaults to 0.- Parameters:
dragPrecisionX-
-
getDragPrecisionY
- See Also:
-
setDragPrecisionY
The Y precision value to drag to for this series. Set to 0 to disable. By default this is disabled, except for category axes, where the default is 1. Defaults to 0.- Parameters:
dragPrecisionY-
-
getDragSensitivity
- See Also:
-
setDragSensitivity
The amount of pixels to drag the pointer before it counts as a drag operation. This prevents drag/drop to fire when just clicking or selecting points. Defaults to 2.- Parameters:
dragSensitivity-
-
getGroupBy
- See Also:
-
setGroupBy
Group the points by a property. Points with the same property value will be grouped together when moving. Defaults to undefined.- Parameters:
groupBy-
-
getGuideBox
- See Also:
-
setGuideBox
Style options for the guide box. The guide box has one state by default, the default state. Guide box is visible only when liveRedraw is false.- Parameters:
guideBox-- See Also:
-
getLiveRedraw
- See Also:
-
setLiveRedraw
Update points as they are dragged. If false, a guide box is drawn to illustrate the new point size. Defaults to true.- Parameters:
liveRedraw-
-