[enum] anychart.enums.EventTypeImprove this Doc
Event types enumeration.
Try it:
Value | Description | Example |
---|---|---|
Animation event types | ||
animationEnd | The type of event to finish the animation. Works for all charts that use the anychart.core.Chart#animation method. | |
animationStart | The type of event to start the animation. Works for all charts that use the anychart.core.Chart#animation method. | |
Annotation event types | ||
annotationChange | Event type for the annotation change. Works for all charts that use the .annotations() method. | |
annotationChangeFinish | Event type for the annotation change finish. Works for all charts that use the .annotations() method. | |
annotationChangeStart | Event type for the annotation change start. Works for all charts that use the .annotations() method. | |
annotationDrawingFinish | Event type for the annotation drawing finish. Works for all charts that use the .annotations() method. | |
annotationSelect | Event type for the annotation select. Works for all charts that use the .annotations() method. | |
annotationUnselect | Event type for the annotation deselect. Works for all charts that use the .annotations() method. | |
Axis marker events types | ||
axisMarkerMove | Event type for axis marker at mouse move. Works only with the Gantt line marker, Gantt range marker, Gantt text marker and Line marker, Range marker, Text marker. | |
axisMarkerOut | Event type for axis marker at mouse out. Works only with the Gantt line marker, Gantt range marker, Gantt text marker and Line marker, Range marker, Text marker. | |
axisMarkerOver | Event type for axis marker at mouse hover. Works only with the Gantt line marker, Gantt range marker, Gantt text marker and Line marker, Range marker, Text marker. | |
Chart drawing event type | ||
chartDraw | Event type for chart drawing. | |
Connectors event types | ||
connectorClick | Event type for the connector at mouse click. The event type for the Gantt timeline connector. | |
connectorDblclick | Event type for the connector at mouse double click. The event type for the Gantt timeline connector. | |
connectorMouseDown | Event type for the connector at mouse down. The event type for the Gantt timeline connector. | |
connectorMouseMove | Event type for the connector at mouse move. The event type for the Gantt timeline connector. | |
connectorMouseOut | Event type for the connector at mouse out. The event type for the Gantt timeline connector. | |
connectorMouseOver | Event type for the connector at mouse over. The event type for the Gantt timeline connector. | |
connectorMouseUp | Event type for the connector at mouse up. The event type for the Gantt timeline connector. | |
connectorSelect | Event type for the connector select. The event type for the Gantt timeline connector. | |
Data changed event type | ||
dataChanged | Event type when the data changes. The event is called when the chart engine determines there is nothing to show, it may happen when there is no data in a data set, no points in a series, series are hidden or excluded and "No data" label is about to show (or hide). Function context contains the "hasData" field that shows whether it is the "show" or "hide" situation. Learn more about "No data" feature | |
Data tree CRUD event types | ||
treeItemCreate | Data tree CRUD event type for tree item create. The treeItemCreate event is dispatched when a new tree data item is created | |
treeItemMove | Data tree CRUD event type for tree item move. The data tree dispatches the treeItemMove event when the Gantt chart tree structure is changed. | |
treeItemRemove | Data tree CRUD event type for tree item remove. When an object is removed, the Gantt tree dispatches the treeItemRemove even. | |
treeItemUpdate | Data tree CRUD event type for tree item update. The treeItemUpdate event will be dispatched by the data tree when anything is changed. | |
Drag event types | ||
drag | Event type for dragging a legend. | |
dragEnd | Event type to stop dragging the legend. | |
dragStart | Event type to start dragging the legend. | |
Drill Change event type | ||
drillChange | Event type for the drill change. Works with the Sunburst, TreeMap and Map. | |
Editor event types | ||
editorComplete | The "editorComplete" event is dispatched when the "Complete" button is pressed. Event is used in the
chart editor To work with the Chart Editor you need to reference the extension file from AnyChart CDN (example for the versioned file: https://cdn.anychart.com/releases/8.13.0/js/anychart-editor.min.js) Sample for the "editorComplete" event var editor = anychart.editor(); editor.render(document.getElementById('container')); // Create an event listener for the editorComplete event/. editor.listen('editorComplete', function() { // do something} );See sample at https://www.anychart.com/features/chart_editor/demo.html | |
Event marker types | ||
eventMarkersHover | Event type for hover on markers. Works with the event markers in Stock and Plot. | |
eventMarkersSelect | Event type for select on markers. Works with the event markers in Stock and Plot. | |
eventMarkerClick | Event type for the marker at mouse click. Works with the event markers in Stock and Plot. | |
eventMarkerDblClick | Event type for the marker at mouse double click. Works with the event markers in Stock and Plot. | |
eventMarkerMouseDown | Event type for the marker at mouse down. Works with the event markers in Stock and Plot. | |
eventMarkerMouseMove | Event type for the marker at mouse move. Works with the event markers in Stock and Plot. | |
eventMarkerMouseOut | Event type for the marker at mouse over. Works with the event markers in Stock and Plot. | |
eventMarkerMouseOver | Event type for the marker at mouse over. Works with the event markers in Stock and Plot. | |
eventMarkerMouseUp | Event type for the marker at mouse up. Works with the event markers in Stock and Plot. | |
Gantt event types | ||
beforeCreateConnector | The event type before creating the connector. Works only with the anychart.charts.Gantt#editing method. Learn more about beforeCreateConnector | |
rowClick | Dispatched when mouse click event happened. The event type for the datagrid row of the anychart#ganttProject and anychart#ganttResource charts. | |
rowCollapseExpand | Dispatched when an item that contains other items expands or collapses. The event type for the datagrid row of the anychart#ganttProject and anychart#ganttResource charts. | |
rowDblClick | Dispatched when mouse double click event happened. The event type for the datagrid row of the anychart#ganttProject and anychart#ganttResource charts. | |
rowMouseDown | Dispatched when mouse down event happened. The event type for the datagrid row of the anychart#ganttProject and anychart#ganttResource charts. | |
rowMouseMove | Dispatched when mouse over event happened. The event type for the datagrid row of the anychart#ganttProject and anychart#ganttResource charts. | |
rowMouseOut | Dispatched when mouse out event happened. The event type for the datagrid row of the anychart#ganttProject and anychart#ganttResource charts. | |
rowMouseOver | Dispatched when mouse over event happened. The event type for the datagrid row of the anychart#ganttProject and anychart#ganttResource charts. | |
rowMouseUp | Dispatched when mouse up event happened. The event type for the datagrid row of the anychart#ganttProject and anychart#ganttResource charts. | |
rowSelect | Dispatched when some row is selected. The event type for the datagrid row of the anychart#ganttProject and anychart#ganttResource charts. | |
Legend item event types | ||
legendItemClick | Event type for an item of legend at mouse click. | |
legendItemDblclick | Event type for an item of legend at mouse double-click. | |
legendItemMouseDown | Event type for an item of legend at mouse down. | |
legendItemMouseMove | Event type for an item of legend at mouse move. | |
legendItemMouseOut | Event type for an item of legend at mouse out. | |
legendItemMouseOver | Event type for an item of legend at mouse over. | |
legendItemMouseUp | Event type for an item of legend at mouse up. | |
Map zoom event types | ||
zoom | Event type for the zoom. Dispatches when user changes a zoom. Works only with the Maps. | |
zoomEnd | Event type for the zoom end. Dispatches when user finishes changing a zoom. Works only with the Maps. | |
zoomStart | Event type for the zoom start. Dispatches when user starts changing a zoom. Works only with the Maps. | |
Marquee event types | ||
selectMarqueeChange | Event type for the select marquee change. Dispatched when rectangle marquee changes. Works only with .startSelectRectangleMarquee() method. | |
selectMarqueeFinish | Event type for the select marquee finish. Dispatched when the drawing of the rectangle has been finished. Works only with .startSelectRectangleMarquee() method. | |
selectMarqueeStart | Event type for the select marquee start. Dispatched when rectangle marquee begins to be drawn. Works only with .startSelectRectangleMarquee() method. | |
Point event types | ||
pointsHover | Event type for hover on points. Works for all charts and series that use the getPoint() method. | |
pointsSelect | Event type for select on points. Works for all charts and series that use the getPoint() method. | |
pointClick | Event type for click on point. Works for all charts and series that use the getPoint() method. | |
pointDblclick | The type of event for double-clicking a point. Works for all charts and series that use the getPoint() method. | |
pointMouseDown | Event type for point at mouse down. Works for all charts and series that use the getPoint() method. | |
pointMouseMove | Event type for point at mouse move. Works for all charts and series that use the getPoint() method. | |
pointMouseOut | Event type for point at mouse out. Works for all charts and series that use the getPoint() method. | |
pointMouseOver | Event type for point at mouse over. Works for all charts and series that use the getPoint() method. | |
pointMouseUp | Event type for point at mouse up. Works for all charts and series that use the getPoint() method. | |
Polygon event types | ||
selectPolygonChange | Event type for polygon selection change. Dispatched when the polygon has been changed. Works only with .startSelectPolygonMarquee() method. | |
selectPolygonFinish | Event type for the polygon selection finish. Dispatched when the drawing of the polygon has been finished. Works only with .startSelectPolygonMarquee() method. | |
selectPolygonStart | Event type for polygon selection start. Dispatched when the drawing of the polygon has been started. Works only with .startSelectPolygonMarquee() method. | |
Scroller event types | ||
scrollerChange | The event type for scroller bar change. | |
scrollerChangeFinish | Event type for scroller bar change finish. | |
scrollerChangeStart | The event type for scroller bar change start. | |
Stock event types | ||
selectedRangeBeforeChange | Event type for selected range before change. Dispatches before user changes the selected range of the scroller. Works only with the Stock. | |
selectedRangeChange | Event type for selected range change. Dispatches when user changes a scroller somehow, on mouseMove event. Works only with the Stock. | |
selectedRangeChangeFinish | Event type for selected range change finish. Dispatches when user releases the mouse button and finishes the scroller change, on mouseUp event. Works only with the Stock. | |
selectedRangeChangeStart | Event type for selected range change start. Dispatches when user starts changing a scroller, on mouseDown event. Works only with the Stock. |