ShiftMode
Sets the control to shift mode, which allows one or more fixed points to be shifted in different directions.
Once the shift mode is activated, a red border will appear around the control to show that shift mode is active.
![]() | No user interactions During shift mode, the following user interactions are disabled: Two-finger zooming, dragging a single fixed point, double tap to add a new point and base component dragging. |
In this mode, all the selected fixed points can be dragged in three directions:
- Drag in base direction
- Drag in value axis direction
- Drag in both directions along the graph
The user can perform shift actions in shift mode using the buttons that appear in the top right corner.
Action | Description | Example |
---|---|---|
Select all fixed points | If the first button is clicked once, all the fixed points that are available on the graph will be selected. | |
Select fixed points using selection rectangle | The user can draw a rectangle on the screen using single-finger drag. All points covered by this rectangle and any point that is not selected but its base index falls between the first and last selected points will be selected at the end of the dragging gesture that draws the selection rectangle. | |
Drag fixed points in vertical direction | After selecting the desired fixed points, the user can select the drag direction using the button shown in the next figure. When the drag in the vertical direction is enabled, a drag handle will appear in the middle of the graph. The user can drag this handle along the base axis direction and all selected fixed points will move. | |
Drag fixed points in horizontal axis direction | After selecting the desired fixed points, the user can select the drag direction using the button shown in the next figure. When the drag in the horizontal axis direction is enabled, a drag handle will appear in the middle of the graph. The user can drag this handle along the base axis direction and all selected fixed points will move in the value axis directions. | |
Drag fixed points in all directions | If base axis direction and value axis directions are enabled, the selected fixed points can be shifted in both directions simultaneously. |
Schema: tchmi:general#/definitions/Boolean
Attribute getter: getShiftMode
Attribute setter: setShiftMode
Available: since version 12.6.0