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 Query
- How to override Hihgchart.js Network Graph default node hover effect?
- Highchart network graph with tooltip when hover on every node
- 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?
- How to enable hover effect for entire series instead of individual data
- 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?
- 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?
- Network Graph - Is there a way to hide a specific node on click in network graph?
- How to create a drilleable bar graph in jsp page using open source charts API
- Override default highlighting on hover in networkgraph
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- How to change the point color to red that is lowest point plotted in the graph and 2nd issue is animation effect is not supporting in the ie10,ie8
- how to enable only 1 out of 2 column column graph by default when page loads in highcharts and the 2nd one gets visible when toggled in the legend
- not working to update node of network graph
- How to get Node Coordinates Data in Sankey Graph
- how to add hover effect in hightcharts?
- How to make highcharts default to 0 for missing data
- Highstocks - How to change the default Zoom
- How to change the font family of Highchart to Bootstrap css default font family
- How to make stacked column graph to show total data value on top
- How to hyperlink bar graph in highcharts
- How to change graph colour above and below plotline in Highcharts
- How do I get the value of a highcharts graph point on mouseover?
- Highcharts + Plotband tooltip hover + default styling
- How to pass custom data into Highcharts graph click event
- How do I set highcharts line graph point colors to an array of colors?
- Highcharts.js: how can stacked area graph animations be smooth?
- Highcharts Areaspline - Highlight a column on hover effect
- How to add our own graph to Kibana?
More Query from same tag
- Highcharts spline and columnrange inverted
- Export powerpoint from highcharts
- Change tooltip position where mouse found
- Highcharts: show stack total in shared tooltip, via footerFormat property
- Using ModalEditor from highcharts-editor in Angular5
- "tickPositions is undefined" after adding a second Y-Axis
- Uncaught TypeError: Object [object Object] has no method 'highcharts'
- highcharts-angular dynamically update from DB
- Highcharts create chart with coloraxis object
- HighCharts series Z index
- Push array data into HighCharts?
- Highcharts Error #16: charts not showing on the same page
- Highcharts conditional data label
- Export chart with image not working
- How to bind model list variable to highchart
- Fix Highcharts dataLabels to the bottom
- Highlight option in stacked barchart in highcharts
- NaN date issue with jQuery
- Highcharts Javascript - Synchronize Chart and Table not working - Cant read property cell of undefined
- Highcharts showing nearest point causes flickering crosshair and strange order
- How do I put box-shadow to Bar(point) on hover of Highcharts?
- Highcharts - Same chart multiple times in same page
- Display threshold line even if threshold value is higher than max y-axis value in HighStock
- Highcharts datetime starting on wrong day
- JavaFX, LineChart get all legends from StackPane
- Add more data to High-chart X axis
- With HighCharts, how can I have the same tooltip formatter as my y axis
- Is it possible to have synchronized charts with error lines?
- HighCharts: Panning in yAxis is happening too slowly
- Minor change cause HighStock charts syncing to fail