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 TypeMethodDescriptionvoid
setDraggableEnd
(Boolean draggableEnd) Supported only in Gantt chart: Allow end value to be dragged individually.void
setDraggableStart
(Boolean draggableStart) Supported only in Gantt chart: Allow start value to be dragged individually.void
setDraggableX
(Boolean draggableX) Enable dragging in the X dimension.void
setDraggableX1
(Boolean draggableX1) Allow X1 value to be dragged individually.void
setDraggableX2
(Boolean draggableX2) Allow X2 value to be dragged individually.void
setDraggableY
(Boolean draggableY) Enable dragging in the Y dimension.void
setDragHandle
(DragHandle dragHandle) Options for the drag handles.void
setDragMaxX
(Number dragMaxX) Set the maximum X value the points can be moved to.void
setDragMaxY
(Number dragMaxY) Set the maximum Y value the points can be moved to.void
setDragMinX
(Number dragMinX) Set the minimum X value the points can be moved to.void
setDragMinY
(Number dragMinY) Set the minimum Y value the points can be moved to.void
setDragPrecisionX
(Number dragPrecisionX) The X precision value to drag to for this series.void
setDragPrecisionY
(Number dragPrecisionY) The Y precision value to drag to for this series.void
setDragSensitivity
(Number dragSensitivity) The amount of pixels to drag the pointer before it counts as a drag operation.void
setGroupBy
(String groupBy) Group the points by a property.void
setGuideBox
(GuideBox guideBox) Style options for the guide box.void
setLiveRedraw
(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
-
-