Drag-Point Interactor
A drag-point interactor allows the user to drag a data point. It has the following basic characteristics:
Class
Registered name
“ChartDragPoint”
Inherits from
Key or Button
Left mouse button
Action
Lets the user modify a data point by dragging
its graphical representation within the data
display area.
The mouse button used to perform the drag operation is the left mouse button by default. However, this button can be changed by passing another button as a parameter to the constructor of the drag-point interactor.
You can use two modes for the drag operation:
*With the opaque mode, the data point is modified each time the mouse is dragged.
*With the ghost mode, the data point is modified only when the mouse button is released.
When a drag-point interactor is created, the default mode that is used for the drag operation is the ghost mode. You can specify that the opaque mode should be used by calling the method IlvChartDragPointInteractor::setOpaque with IlvTrue as a parameter.
Published date: 05/24/2022
Last modified date: 02/24/2022