Charts > Using the Charts Library > Interacting with Charts > Using the Chart Interactors > Drag-Point Interactor
 
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.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.