score:1
Accepted answer
The simplest solution is to overwrite the default setState
function, example:
(function(H) {
H.seriesTypes.networkgraph.prototype.pointClass.prototype.setState = function(state) {
var args = arguments,
Point = H.Point,
others = this.isNode ? this.linksTo.concat(this.linksFrom) : [this.fromNode,
this.toNode
];
if (state !== 'select') {
others.forEach(function(linkOrNode) {
if (linkOrNode && linkOrNode.series) {
Point.prototype.setState.apply(linkOrNode, args);
if (!linkOrNode.isNode) {
if (linkOrNode.fromNode.graphic) {
Point.prototype.setState.apply(linkOrNode.fromNode, args);
}
/* Modification - prevent hover effect on toNode
if (linkOrNode.toNode && linkOrNode.toNode.graphic) {
Point.prototype.setState.apply(linkOrNode.toNode, args);
}
*/
}
}
});
}
Point.prototype.setState.apply(this, args);
}
}(Highcharts));
Live demo: https://jsfiddle.net/BlackLabel/1039zwbt/1/
Docs: https://www.highcharts.com/docs/extending-highcharts/extending-highcharts
Source: stackoverflow.com
Related Articles
- How to override Hihgchart.js Network Graph default node hover effect?
- Highchart network graph with tooltip when hover on every node
- Network Graph - Is there a way to hide a specific node on click in network graph?
- Override default highlighting on hover in networkgraph
- not working to update node of network graph
- Highcharts + Plotband tooltip hover + default styling
- Highcharts Areaspline - Highlight a column on hover effect
- Hover markers missing on disconnected graph
- HighCharts area graph - show tooltip only on hover of marker
- Highcharts Network Graph Arrow Links
- Plotting of Network Topology graph based on json input
- how to disable or override the fonts inherited from svg in the web pages by default
- How can you speed up the Highcharts network graph initial animation?
- Legend in network graph ( Highchart Js)
- highcharts custombutton hover and press changing colors by default
- while working with network chart, is there any why to color the common node with two different colors.?
- Is it possible to create network graph using from left to right as tree graph using highcharts?
- Highcharts -- Dynamically apply "halo" effect to points without triggering hover event
- How to enable hover effect for entire series instead of individual data
- Highcharts graph default series fillColor overrides the state fillColors (jsfiddle included)
- Strange character in the Highstock source code
- How to make hover effect for two bar in highcharts at the same time is there any way by using css or any inbuilt method to achieve this?
- hover on a point in highcharts graph using playwright and typescript
- Angular - Errors when filling a Highcharts network graph with an array
- Highcharts | Network Graph - Is there a way to expand leaf nodes on click of the Parent node?
- show tooltip for each point of highcharts network graph in Angular
- How to remove default Hover text and display the custom text title on hover Donut chart Highcharts
- How to implement the interconnection between nodes in network graph using javascript?
- How to create a drilleable bar graph in jsp page using open source charts API
- Highcharts disable hover effect and select animation
- Bell Curve with django is not working
- highcharts changing dial value interactive with mouse events
- Cannot give different values to diffrent Bar item click in HighChart
- border over plot rectangle in chart
- ng2-highcharts chart update after load
- Sql query to populate 0's for missing data
- Sankey Diagram unable to deliver using the json output
- HighCharts - Pie chart drilldown for multilevel (3 to 4 level)
- Hiding label guidelines on Highcharts pie charts
- Highcharts multiple series
- Highcharts Error #13 for bullet charts
- How do I unbold title of Highcharts' legend?
- Highcharts scatter plot with lots of data points running really slow
- Changing the color of each column in high charts
- Highcharts js set last month x axis data
- Highcharts - Redraw/Resize chart after destroying legend?
- Highcharts Pie Chart.How to set labels in two lines
- Rendering multiple charts with React
- HighCharts-Removing the padding for a bar chart
- Change highcharts axis value based on User Selection