-
New Feature
-
Resolution: Unresolved
-
Normal
-
None
-
10.3.3.0
-
Security Level: Jimmy
-
None
User Story
As a developer, I want to listen to the user dragging and dropping chart elements per the highcharts drag and drop feature.
If I enable drag and drop, I want to be able to listen to the following events in Java listener, without having to manually relay the event from the client-side handler.
Currently, I need to register a JS event handler through chart.getPlotOptions().getSeries().addExtraAttr(), and send the event data to the component's server-side listener manually.
Acceptance Criteria
Event listener on chart (or dedicated event listener in plotOption) to listen to the 3 drag events:
https://api.highcharts.com/highcharts/plotOptions.series.point.events.dragStart
https://api.highcharts.com/highcharts/plotOptions.series.point.events.drag
https://api.highcharts.com/highcharts/plotOptions.series.point.events.drop
events need to contain the drag data (position, value, etc), as well as point information (serie index, point index in serie) or a reference to the point itself if parsable from the event data.
Details
current POC sample attached
- duplicates
-
ZKCHARTS-127 Send an event to server when allow dragging Y
- Open