score:10
Accepted answer
You can disable tooltip for specific points using tooltip.formatter
. You will need to add some identifying attribute to the points that are not going to have a tooltip, and then check for that in your tooltip.formatter
function.
For example, you could set your data
like this (see first point):
data: [{x:1, y:6, z:5, noTooltip: true}, [8, 7, 9], [1, 3, 4], [4, 6, 8], [5, 7, 7]]
Then in your tooltip.formatter
you can evaluate like this:
tooltip: {
formatter: function() {
// If the point is going to have a tooltip
if(!this.point.noTooltip) {
// Mimic default tooltip contents
return '● '+this.series.name+
'<br/>x: <b>'+this.point.x+
'</b><br/>y: <b>'+this.point.y+
'</b><br/>z: <b>'+this.point.z+
'</b><br/>';
}
// If tooltip is disabled
return false;
}
}
See this JSFiddle demonstration (point that is disabled is at coordinates [1,1,0] in bottom left).
Source: stackoverflow.com
Related Query
- Disable tooltip for one point?
- Highstock disable tooltip for one series
- highcharts customize tooltip for a single point
- create a sticky tooltip for a point or a permanent label using HighCharts
- Highstock shared tooltip multiple series - show data for line when not on point
- Highcharts Modify Tooltip for One Series
- Disable line from tooltip to point location on the chart
- Extra data in point object isn't available for tooltip
- Disable tooltip only for months and days in Highcharts
- highcharts line for one point serie
- Changing backgroundcolor of tooltip for a specific data point in Highcharts
- Highcharts: disable allowPointSelect for only one pie slice
- Showing only one tooltip for all. Highstock highcharts
- show tooltip for each point of highcharts network graph in Angular
- Highstock : Shared tooltip except for one series
- how to give different names on tooltip for one series in highcharts R
- Can I easily modify tooltip for certain point and else use default for timeseries data?
- Highcharts; disabling the tooltip for a single point renders a random little box
- Highcharts. Explicit colour for one point in HeatMap
- How to highlight and show tooltip for correct (left / right) step point instead of the closest point
- How to set tooltip background as point color for split chart in Highcharts?
- Highcharts datalables enabled for one series and one point on the chart via chart function
- High charts click on one data point the other data points should disable
- highstock. Can I add one line of tooltip when the point is in the area of plotbands?
- Showing all values on one point on x axis and changing range for rCharts highcharts
- How to include strings in series data to pull for tooltip point formatting?
- Make Highcharts tooltip show info for closest point to the left (i.e. not change at midpoint)
- Disable highcharts tooltip on certain lines, leave it enabled on others?
- Disable tooltip on certain points in Highcharts
- Display tooltip for invisible series in Highcharts
More Query from same tag
- Export multiple Highchart as Zip file to my project directory
- Is there a way to get superscripts to show up in highchart exports
- Highcharts.js cannot see graph line
- Add custom data on tooltip of Highcharts donut graph
- highcharts column charts show sum single 0 when entire column data total is 0
- Highcharts displaying Date axis from milliseconds
- Class 'ConsoleTVs\Charts\Facades\Charts' not found in laravel Charts
- how can i do this using highcharts, superposition two series share with yAixs
- Rendering Highcharts graph
- HighCharts: Display total value below the legend title
- c# WPF Webbrowser with Highchart, Javascript from external source not working "An error has occurred in the script on this page"
- How to maintain column width with multiple series in highcharts?
- How to show the column "Gender" to chart in Laravel from database?
- iterate JSON response with jQuery for Highcharts
- Explain Highcharts different Instantiations
- How to change color of line above or below specify curve line in Highcharts?
- highcharts: there are no data in exported image
- Pass data from controller to view into script - LARAVEL
- error NG6001: Cannot declare 'Highchar tsChartComponent' in an NgModule as it's not a part of the current compilation
- highchart select an area to show some info by clicking and drag mouse but not release
- Highcharts draggable points - prevent hidding tooltip
- What is the best way to integrate Highcharts with Curljs?
- Highcharts line color based on other data than value
- Highcharts hover delay and not rendering with multiple series
- X-axis category name from string in series list
- Highcharts fold/unfold waterfall
- Highcharts / Highstock horizontal plotLine label's vertical alignment?
- Select Point Programmatically (e.g. from TableView Cell or Button)
- How to fix column range grid distance in HighCharts?
- Calculate Y-axis breaks