Modifier and Type | Interface and Description |
---|---|
static interface |
PlotIkhPointEventsOptions.MouseOut |
static interface |
PlotIkhPointEventsOptions.MouseOver |
static interface |
PlotIkhPointEventsOptions.Remove |
static interface |
PlotIkhPointEventsOptions.Select |
static interface |
PlotIkhPointEventsOptions.Unselect |
static interface |
PlotIkhPointEventsOptions.Update |
Modifier and Type | Method and Description |
---|---|
SeriesPointClickCallbackFunction |
getClick()
(Highstock) Fires when a point is clicked.
|
SeriesPointDragCallbackFunction |
getDrag()
(Highstock) Callback that fires while dragging a point.
|
SeriesPointDragStartCallbackFunction |
getDragStart()
(Highstock) Callback that fires when starting to drag a point.
|
SeriesPointDropCallbackFunction |
getDrop()
(Highstock) Callback that fires when the point is dropped.
|
PlotIkhPointEventsOptions.MouseOut |
getMouseOut()
(Highstock) Fires when the mouse leaves the area close to the point.
|
PlotIkhPointEventsOptions.MouseOver |
getMouseOver()
(Highstock) Fires when the mouse enters the area close to the point.
|
PlotIkhPointEventsOptions.Remove |
getRemove()
(Highstock) Fires when the point is removed using the
.remove() method. |
PlotIkhPointEventsOptions.Select |
getSelect()
(Highstock) Fires when the point is selected either programmatically or
following a click on the point.
|
PlotIkhPointEventsOptions.Unselect |
getUnselect()
(Highstock) Fires when the point is unselected either programmatically or
following a click on the point.
|
PlotIkhPointEventsOptions.Update |
getUpdate()
(Highstock) Fires when the point is updated programmatically through the
.update() method. |
void |
setClick(SeriesPointClickCallbackFunction value)
(Highstock) Fires when a point is clicked.
|
void |
setDrag(SeriesPointDragCallbackFunction value)
(Highstock) Callback that fires while dragging a point.
|
void |
setDragStart(SeriesPointDragStartCallbackFunction value)
(Highstock) Callback that fires when starting to drag a point.
|
void |
setDrop(SeriesPointDropCallbackFunction value)
(Highstock) Callback that fires when the point is dropped.
|
void |
setMouseOut(PlotIkhPointEventsOptions.MouseOut value)
(Highstock) Fires when the mouse leaves the area close to the point.
|
void |
setMouseOver(PlotIkhPointEventsOptions.MouseOver value)
(Highstock) Fires when the mouse enters the area close to the point.
|
void |
setRemove(PlotIkhPointEventsOptions.Remove value)
(Highstock) Fires when the point is removed using the
.remove() method. |
void |
setSelect(PlotIkhPointEventsOptions.Select value)
(Highstock) Fires when the point is selected either programmatically or
following a click on the point.
|
void |
setUnselect(PlotIkhPointEventsOptions.Unselect value)
(Highstock) Fires when the point is unselected either programmatically or
following a click on the point.
|
void |
setUpdate(PlotIkhPointEventsOptions.Update value)
(Highstock) Fires when the point is updated programmatically through the
.update() method. |
@Nullable SeriesPointClickCallbackFunction getClick()
event
, is
passed to the function, containing common event information.
If the series.allowPointSelect
option is true, the default action for
the point's click event is to toggle the point's select state. Returning
false
cancels this action.void setClick(SeriesPointClickCallbackFunction value)
event
, is
passed to the function, containing common event information.
If the series.allowPointSelect
option is true, the default action for
the point's click event is to toggle the point's select state. Returning
false
cancels this action.@Nullable SeriesPointDragCallbackFunction getDrag()
e.origin
, and the new point values can be accessed from e.newPoints
.
If there is only a single point being updated, it can be accessed from
e.newPoint
for simplicity, and its ID can be accessed from
e.newPointId
. The this
context is the point being dragged. To stop
the default drag action, return false. See drag and drop options.
Requires the draggable-points
module.void setDrag(SeriesPointDragCallbackFunction value)
e.origin
, and the new point values can be accessed from e.newPoints
.
If there is only a single point being updated, it can be accessed from
e.newPoint
for simplicity, and its ID can be accessed from
e.newPointId
. The this
context is the point being dragged. To stop
the default drag action, return false. See drag and drop options.
Requires the draggable-points
module.@Nullable SeriesPointDragStartCallbackFunction getDragStart()
e.updateProp
is set to the data property being dragged. The this
context is the point. See drag and drop options.
Requires the draggable-points
module.void setDragStart(SeriesPointDragStartCallbackFunction value)
e.updateProp
is set to the data property being dragged. The this
context is the point. See drag and drop options.
Requires the draggable-points
module.@Nullable SeriesPointDropCallbackFunction getDrop()
draggable-points
module.void setDrop(SeriesPointDropCallbackFunction value)
draggable-points
module.@Nullable PlotIkhPointEventsOptions.MouseOut getMouseOut()
event
, is passed to the function, containing common event
information.void setMouseOut(PlotIkhPointEventsOptions.MouseOut value)
event
, is passed to the function, containing common event
information.@Nullable PlotIkhPointEventsOptions.MouseOver getMouseOver()
event
, is passed to the function, containing common event
information.void setMouseOver(PlotIkhPointEventsOptions.MouseOver value)
event
, is passed to the function, containing common event
information.@Nullable PlotIkhPointEventsOptions.Remove getRemove()
.remove()
method.
One parameter, event
, is passed to the function. Returning false
cancels the operation.void setRemove(PlotIkhPointEventsOptions.Remove value)
.remove()
method.
One parameter, event
, is passed to the function. Returning false
cancels the operation.@Nullable PlotIkhPointEventsOptions.Select getSelect()
event
, is passed to the
function. Returning false
cancels the operation.void setSelect(PlotIkhPointEventsOptions.Select value)
event
, is passed to the
function. Returning false
cancels the operation.@Nullable PlotIkhPointEventsOptions.Unselect getUnselect()
event
, is passed to the
function. Returning false
cancels the operation.void setUnselect(PlotIkhPointEventsOptions.Unselect value)
event
, is passed to the
function. Returning false
cancels the operation.@Nullable PlotIkhPointEventsOptions.Update getUpdate()
.update()
method. One parameter, event
, is passed to the function.
The new point options can be accessed through event.options
. Returning
false
cancels the operation.void setUpdate(PlotIkhPointEventsOptions.Update value)
.update()
method. One parameter, event
, is passed to the function.
The new point options can be accessed through event.options
. Returning
false
cancels the operation.Copyright © 2020. All rights reserved.