score:1
You can add events to nodes dataLabels using js addEventListener
like that:
chart: {
type: 'networkgraph',
marginTop: 50,
events: {
load: function() {
var nodes = this.series[0].nodes;
nodes.forEach(function(node) {
node.dataLabel.div.addEventListener('click', function(e) {
console.log('click')
});
});
}
}
}
Demo:
Source: stackoverflow.com
Related Query
- Highcharts: Attach a click event to dataLabel when useHTML set to true
- How to color series legend in highcharts when colorbypoint is set to true
- How to attach click event function in Highcharts
- Dynamically set click event on bar from highcharts graph
- Highcharts + set event click from options in jquery
- How do I attach a click event handler to the whole HighCharts Gauge control?
- Highcharts - attach event on crosshair click
- Unable to do any other action than "alert" when triggering the click event on Highcharts (React Native)
- Highcharts click event on dataLabel which is using HTML
- get bot xAxis values when doing click event on highcharts
- Attach object to Highcharts click event
- Set file type dynamically when click on exporting menu in highcharts using chart.exportChart function
- Highcharts - Double click event
- Highcharts chart click event fired on click of the reset zoom button (bug?)
- Highcharts : Chart with drilldown how to obtain click event of drill up button
- highcharts how to catch and insert logic in click reset zoom button event
- How to pass custom data into Highcharts graph click event
- Highcharts Line - When Y axis min is set to 0, connecting line isn't shown for consecutive 0 values
- Click event not fire in highcharts tooltip
- HighStock HighCharts Setting Flag on Click Event
- highcharts legend items align to the left when width is set
- HiChart click event 1st time it's working but when I update the data then click event is not working
- Is it possible to set Highcharts to hide tooltip when the mouse pointer is 30px away
- Highcharts pie color of a part when i click on this
- highcharts change rendered image source on click
- Highcharts : How do I keep the marker formatting and make the click event fire with a 5K+ point scatter plot?
- How to add series after click event in HighCharts
- Click event and two way data binding in HighCharts using AngularJS
- Highcharts: How to change or redraw a chart when a click event occurs on an another chart?
- Click event in treemap in highcharts
More Query from same tag
- Highcharts series name with '<' not rendered in tooltip
- Shared Crosshair Highlighting /w Non-sequential Series
- Highcharts Scrollbar up arrow throws error on click
- How to hide grid line protrusion in bar chart
- Fixed height/width of bars in highcharts
- How to hide "showInLegend" of Highcharts in angular 8.1?
- Highcharts - issue about full chart width
- Which chart type should display following chart? gauge or column?
- Change a highchart subtittle
- Pass PHP result-set to JavaScript array in Highchart?
- Columns too wide in Highcharts with lots of points
- highcharts end point to endpoint connection
- Div element not hiding even after hiding the tooltip in highcharts
- Customize legend in highchart
- Highstock reverts to same color for columns
- 3D-Highchart Dynamic Series Add issues
- Adding a second x-axis in Highcharts
- Highchart heatmap for days in a month from 8:00 to 17:00
- High Charts tooltip
- How do i add mouse wheel code in Angular2 highcharts in typescript
- Converting a complex json format to C# class for Highchart Organization Chart
- Highcharts polar spider with Min and Max for each y-axis
- Highcharts, influxdb and nodejs, how to display data of influxdb in highcharts using influxdb-nodejs?
- Is there any replacement of "zones" in highcharts?
- How to plot data points with two y values?
- How to change the axis of Dual axes Graph
- How do i color the highcharts legend square symbol when my chart has multiple color entries
- How can I avoid moving flags when mouseovered - highcharts
- Adding highchart3d in Angular 6 application
- How do I remove some attributes of an element using selection by querySelectorAll?