score:7
Accepted answer
You were almost there. You needed to check the api for the shared tooltip formatter. Put your check for the series you do not want inside the for each:
...
tooltip: {
formatter: function () {
var s = '<b>' + this.x + '</b>';
$.each(this.points, function () {
if (this.series.name != 'Water') {
s += '<br/>' + this.series.name + ': ' + this.y + 'm';
}
});
return s;
},
shared: true,
valueSuffix: ' cm'
},
...
score:1
No need to customize the tooltipfunction. just add this to the series object which should be hidden:
'tooltip'=> [
'pointFormat'=> ''
]
Source: stackoverflow.com
Related Query
- How to hide one series data info in tooltip using highcharts
- Highcharts Highstock How to Plot OHLC and Line Charts from One Set of Embedded CSV Data Using Series Map Tools?
- How to hide Series Name in HighCharts Tooltip when using pointFormatter
- Highcharts - How to hide series name and Y value in tooltip
- How to Load More Than One CSV Using Highcharts Data Module
- How to hide data in a series in highcharts boxplot?
- How to hide series name from tooltip in Highcharts scatter plots for linear regression
- How to have multiple highcharts with different series data in vuejs without repeating code
- Highcharts data from google spreadsheet hide all series except one at start
- how to give different names on tooltip for one series in highcharts R
- How to return every nth row from dataset using postgresql to control a Highcharts data series
- How to display tooltip data below x-axis category labels using Highcharts
- How to set Highcharts data series in x-axis using crosshairs?
- How to make multiple Y-axis with incoming series of data from database using Highcharts
- How to get multiple series data in tooltip highcharts (Without loosing tooltip pointer arrow)
- How can I hide series from a HighCharts legend?
- How to get multiple series data in tooltip highcharts?
- How can I hide a series from initially being displayed in Highcharts
- How do I dynamically change a data point in Highcharts using JavaScript
- How can i hide all the Series in highcharts at a time
- Javascript Highcharts v3.0.5 - How to hide Y Axis Title when using multiple Y Axis
- Highcharts how to use JavaScript variable as series data source?
- How to get multiple data series into Highcharts
- How can I include two data in one series on HIGHCHARTS?
- How get data name in Highcharts pie chart legend instead of "Slice" using array of values?
- How to hide color axis in heatmaps using highcharts
- How do I hide a Highcharts series from the chart, but always show it in the tooltip?
- Highcharts - how to create multiple y axis and group the data series
- How to construct HighCharts data series to match returned Json via ajax call
- How to edit tooltip in Highcharts C# code
More Query from same tag
- Highcharts solid gauge stacked values
- set data for navigation in highstock
- Plot Highchart multiple series line chart using JSON data
- knockoutJS dynamic chart with high charts
- Highcharts - Tooltip and series name are out of their boxes in chrome
- Highlight point range in Highcharts
- How to implement motion video highchart on Reactjs
- Highcharts tooltip formatter using jquery replace
- Looping data inside highchart.js using type column chart
- Display time on Xaxis with line chart make by Highcharts
- Highchart multicolour areaspline
- Highcharts, multiple parts chart
- HIGHCHARTS POINTSTART TODAYS DATE
- gauge highcharts : Exterior circle color
- Highcharts in InfoWindow on Google Maps
- Highcharts - Annotations outside plot area (top/bottom)- doesn't show up
- Highcharts - tooltip using click event doesn't appear all times
- Trying to get highcharts export to work on app engine
- How to hide series via the legend in highstock ?
- How to change Highcharts graph with HTML radio button input (JS/jQuery)
- Highcharts - Labels cut off
- HighCharts Stock Chart error code 18
- How To Use Highmaps Data In JSON Not Labeled 'value'
- com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) @org.moxieapps.gwt.highcharts.client.BaseChart::nativeRenderChart
- How to extend or highlight a horizontal line in Highcharts?
- Line chart does not connect dots if they have gaps in values between in serie object
- background color change in jquery highcharts
- breaking json for stacked highcharts
- Highcharts removes series by itself
- highcharts how to hide legendSymbol in front of particular legend name?