score:2
Accepted answer
A dynamic approach to this is intercepting the setState
-function of the Point
.
For example, wrapping it and preventing the handling if the y
-value is 0
:
(function (H) {
H.wrap(H.Point.prototype, 'setState', function (proceed, state, move) {
if(this.y === 0) return;
proceed.apply(this, Array.prototype.slice.call(arguments, 1));
});
}(Highcharts));
See this JSFiddle demonstration of it in action.
score:3
A very static approach to this is simply addressing each point with Y-value of 0
. Then you could disable the hover-marker for each of these. One such point would look like this (JSFiddle demo):
{
y:0,
marker:{
states:{
hover:{
enabled:false
}
}
}
}
And used in a series:
series: [{
marker: {
enabled: false
},
data: [3, {y:0, marker:{states:{hover:{enabled:false}}}}, 3, 5, 1, 2, 12]
}]
As you can see, it's not pretty, but might help those who need an ad-hoc solution.
Source: stackoverflow.com
Related Query
- Highcharts conditionally disable marker on hover
- highcharts - disable fading series on marker hover
- How can I disable on hover marker animation in Highcharts 6.x?
- Disable hover on HighCharts
- Disable marker hover in only one marker of highchart
- HighCharts area graph - show tooltip only on hover of marker
- Disable legend hover in Highcharts
- Highcharts - Scatterplot Marker Hover State lasts too long
- How to enable marker on hover only for a range of points in highcharts
- Disable Plotpoint legend on hover in Highcharts
- Disable marker on certain points on highcharts
- Highcharts disable hover effect and select animation
- Change color of marker on hover points - Highcharts
- Is there any way to disable hover action on particularly some nodes in networkchart of highcharts based on the node color.?
- Highcharts marker size change on/after hover
- How to change the marker style on hover in HighCharts
- highcharts multiple marker hover color doesn't inherit from marker color
- HighCharts navigator: how to disable the expand width icon on hover
- Highcharts - disable hover for slices on pie chart
- Disable highcharts tooltip on certain lines, leave it enabled on others?
- Disable tooltip on certain points in Highcharts
- Highcharts - manually trigger hover event on a point
- Disable series through configuration in highcharts
- Highcharts datetime axis, how to disable time part (show only dates)?
- Disable PDF and SVG download options in Highcharts
- conditional marker colors in highcharts
- Disable Print Chart option only from HighCharts
- Highcharts + Plotband tooltip hover + default styling
- Flexdashboards and Leaflet and marker click with Highcharts
- Highcharts solidgauge : How can I disable gradient fill?
More Query from same tag
- How can I embed the AJAX output of JS in Javascript function
- Why is this drilldown graph made by python-highcharts not working?
- Start graph rendering after left sided labels in Highstock
- Highcharts grouping column, hide in tooltip
- Highcharts in Vue.js component
- Like to show all the labels of x axis in highchart
- how to wrap data inside highchart using angularjs
- How to properly configure DateTime axis for Highcharts on Android?
- Scatter chart with simple liner regression
- How would I irregularly space x-axis data in highcharts that ISN'T represented in a datetime format?
- Highstock, True way of Get count of shown points after setExtreme (Zooming) - WITHOUT counting all data with MIN and MAX
- What is the best strategy for testing D3/HighCharts/SVG?
- Highcharts custom attribute with datetime line chart
- Custom Drill No Longer Functioning
- Less Categories than Series on Highcharts
- Which web charting libraries export well with Wicked PDF?
- Chart highlighting in the highcharts javascript API
- How To disable "shadow-gradient" of format?
- Display space in chart in case of null value present in object in high chart stacked bar chart
- highcharts with angular, removing xAxis line
- How to add an array to an existing two-dimensional array (for use in Highcharts)
- Highchart/stock tooltip formatter for both series and flags
- highcharter animation in flexdashboard
- Highcharts Bubble Size/Radius Animation
- Is it possible to change linecolor for timeline chart in between specific points?
- Highcharts setting weird column spacing with monthly timeseries
- testing that a json can be rendered as a highchart
- Highcharts 'marker' line padding
- How to move a chart (Highcharts) using the arrow keys?
- JavaScript - Chart does not show when is inside a div tag