score:58
UPDATE
use enableMouseTracking: Boolean
Notice enableMouseTracking: Boolean
was introduced after this question was asked
Old Answer
I just Disabled the heights point in the Tokyo
series
here is your code
tooltip: {
formatter: function() {
if(this.series.name == 'Tokyo' && this.y == 26.5 ){
return false ;
// to disable the tooltip at a point return false
}else {
return '<b>'+ this.series.name +'</b><br/>'+
this.x +': '+ this.y +'°C';
}
}
}
score:0
For stock charts enableMouseTracking: false makes lines inactive on hover.
Here's better solution:
Highcharts.chart('container', {
series: [{
name: 'John',
type: 'column',
data: [5, 3, 4, 7, 2],
tooltip: {
pointFormatter: function() {
return false
}
}
}, {
name: 'Jane',
type: 'column',
data: [2, 2, 3, 2, 1],
tooltip: {
pointFormatter: function() {
return 'Second <strong>column</strong> series.'
}
}
}, {
name: 'Joe',
type: 'line',
data: [3, 4, 4, 2, 5],
tooltip: {
pointFormatter: function() {
return false
}
}
}]
});
score:52
Use enableMouseTracking
. It's the best way to do it.
Per Serie
series: [{
name: 'Serie1',
data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],
enableMouseTracking: false
}, {
name: 'Serie2',
data: [7.0, 6.9, 9.5, 15.5, 15.2, 15.5, 15.2, 15.5, 11.3, 17.3, 11.9, 9.6]
}]
Global
plotOptions: {
series: {
enableMouseTracking: false
}
}
The code above will display tooltip for only the first serie.
Reference: enableMouseTracking
Source: stackoverflow.com
Related Query
- Disable highcharts tooltip on certain lines, leave it enabled on others?
- Disable tooltip on certain points in Highcharts
- How to enable or disable a Highcharts tooltip when a button is clicked?
- Highcharts - Series tooltip doesn't work when plotting lines that zigzag on the x axis
- How to edit tooltip in Highcharts C# code
- Enable and disable Highcharts tooltip with drill menu
- how to use highcharts tooltip formatter in python code
- How to disable tooltip in highcharts gauge?
- Highcharts - Adding tooltip to ONLY certain dynamically added series
- Disable tooltip only for months and days in Highcharts
- Disable marker on certain points on highcharts
- Highcharts how to show certain tooltips and don't show others
- highcharts disable certain labels
- regroup 2 lines in tooltip (among many other lines) highcharts
- Customize tooltip and format the number to 2 decimal places of highcharts
- Disable hover on HighCharts
- Highcharts tooltip overflow is hidden
- customize highcharts tooltip to show datetime
- highcharts pass multiple values to tooltip
- Highcharts tooltip always on right side of cursor
- Highcharts tooltip formatter
- Format tooltip numbers in Highcharts
- Weird character in front of Highcharts tooltip series names
- Disable series through configuration in highcharts
- highcharts - disable fading series on marker hover
- Display tooltip for invisible series in Highcharts
- Highcharts datetime axis, how to disable time part (show only dates)?
- Change Highcharts tooltip formatter from chart Object , after chart is rendered
- Highcharts Pie Chart.How to set labels in two lines
- Adding thousands separator for custom formatted highcharts tooltip
More Query from same tag
- Format Highcharts chart tooltip pointFormat in formatter
- High charts gauge-solid and different data sets
- How to identify Highcharts datagroup event?
- Passing Decimal string from php to jquery
- Highcharts how to pass milliseconds to pointStart (really a javascript question)
- Can I use highcharts in a pdf generate with prawn in Rails?
- Generate PDF from a page with highcharts on it with abcpdf
- HighCharts Js graphs in loop
- Set custom legend item symbol (or icon) in HIghcharts
- Highcharts not displaying daily data for column chart
- highchart treemap parent label as tile
- HighStock Chart don't display line for missing Y axis data
- How to create tooltip in highcharts map on click over a country...?
- Highcharts chart.events.redraw doesn't work for chart.xAxis[0].update
- Php to JSON passed thru to high charts
- Plot heatmap from CSV file [Highcharts]
- Get x-axis values of selected graphs
- Android highcharts library chart loading completed listener event
- Highcharts. Place tooltip on top of all items
- Highcharts failing to display data
- Highcharts-ng with drilldown
- How to insert HTML inside an Ext.each() in the labeFormatter function of legend-EXTJS -highcharts
- Packed Bubble Chart with Gradient Legend in Highcharts
- stacked waterfall charts in highcharts
- Rendering a graph in highcharts/miso
- Is it possible with Chart js or which chart Library can provide this type of chart?
- Dojo + Highcharts. The X Axis is not alligned when setCategories() is executed
- Why are the xAxis labels in my Highcharts graphic so strangely positioned?
- How can I set a min/max width to highchart's columns?
- Highcharts: get an event before drilldown?