score:1
Accepted answer
Use a formatter function for tooltip and return false
if there is less than two points. Example:
tooltip: {
shared: true,
formatter: function(tooltip) {
if (this.points.length < 2) {
return false;
}
return tooltip.defaultFormatter.call(this, tooltip);
}
}
Live demo: http://jsfiddle.net/BlackLabel/zrse9cdj/
API Reference: https://api.highcharts.com/highcharts/tooltip.formatter
Source: stackoverflow.com
Related Query
- Tooltip for series with different time intervals
- highcharts: shared tooltip not working for series with diffrent intervals
- Highcharts: make y-axis extremes the same for two data series with different units
- How to display line break for irregular time series with highcharts
- Highcharts - selection error with live data and different time intervals
- Display a tooltip for two points with exactly the same time
- How can I apply different background color to entire tooltip for different series in highcharts
- Highcharts tooltip format different with series
- How to have multiple highcharts with different series data in vuejs without repeating code
- Series with different time ranges in Highcharts
- show two different series with different start intervals with the same xAxis highcharts
- how to give different names on tooltip for one series in highcharts R
- Creating A MultiSeries Bar Chart With Different Number of Series For Each Item
- Plotting time series with different scales with Hichcharts
- Display tooltip for invisible series in Highcharts
- How To Use Epoch Time With Highcharts Series Data?
- Highchart/stock tooltip formatter for both series and flags
- Highchart data series filled with different colors
- Highcharts shared tooltip for line series and scatter plot not working
- Highcharter plotBands, plotLines with time series data
- Display multiple time series with rCharts hPlot
- time data with irregular intervals in HighChart
- how to assign date time to highchart with intervals and date start
- High chart - Column Range Chart with Time range. How to get tooltip as Start and End time
- Can I sychronize two highcharts series with different years (leap year)
- Highcharts not displaying series data for graph with multiple Y-axes
- Highcharts JS- add third variable to tooltip for two series
- Highcharts, how to change hover bg color for series with multiple columns (categories)
- Highcharts shared tooltip between charts with multiple series and shared tooltip
- Show tooltip programmatically in StockChart for multiples series (highchart)
More Query from same tag
- Highchart update BBox location on zoom
- Highcharts percentage variability position
- how to add value to the label in xAxis tooltipe?
- How to set R Highcharter stock x-axis dates
- Highcharts 3D funnel Array format
- Wrong date in highstock Chart
- Horizotal scrollable highcharts timeline chart
- Having trouble just getting the Highchart to show
- How to speed up the package loading in R (in Shiny app)
- highcharts dataLabel overflow: justify issue
- Highcharts Pie chart how to reduce space between chart and legend caused by plot width
- Opacity colors in Highcharts (with default color)
- Highstocks, chart.series[0].data is empty in afterSetExtremes()
- set color of grouped stacked column in highcharts
- Build Optimizer of Angular will shake off HighCharts Export function
- Issue with JSON data encoded from the server, not able to plot the chart
- Highcharts view full screen in older version
- Move Highstock columns between x-axis ticks
- Highcharts add image on export
- Get javascript highcharts to render inside a Bootstrap Popover
- Remove SVG rendered path on Legend Item Click
- Highcharts dont show: "undefined is not a function"
- Added series does not remains in highcharts on show/hide of chart container
- How to show an empty chart in beginning and populate values on button click
- How to drilldown a pie highchart into multiple containers using renderTo or redraw method?
- In a Highcharts Stacked Area chart, is there a way of highlighting the area hovered over, rather than the area belonging to the nearest point?
- How do you add text to the bottom center of legend and bottom center of chart under legend?
- SVG marker on Highcharts path
- Highcarts, removes html on categories
- Unable to load Map Chart in Angular 7 using HighMaps 7