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
- Error in R with highcharter library
- Highchart don't show line if Y.axis is the same
- Highcharts: convert columns to stacked column in multiple axis chart
- Error on rendering Highstock date
- Give the columnrange different colors
- Display multiple data points at once : Highcharts
- Timeline / Schedule in highcharts
- How do I make the background of Highchart's SVG clock transparent?
- drawing start and end time as intervall in one thick line
- how to show data label on mouse over in highcharts?
- Angular High Chart - Loading data from Observable
- HighCharts Stock Chart error code 18
- Highcharts not displaying series data for graph with multiple Y-axes
- Remove the strikethrough on legend symbols for line charts?
- How to add a second series in highcharts
- Highcharts markers on bar charts
- Highcharts: synchronized charts no longer sync up once data are updated
- Highcharts stacked bar chart hide data labels not to overlap
- How to make the regression line through the origin in highcharts
- how do i remove the decimal point values from the array values?
- removes spaces while adding custom line in highcharts
- How to set object value in color attribute for high charts legends?
- highchart in popover - bootstrap 4
- Parsing JSON for use with Highcharts using jquery .parseJSON or JSON.parse: how to remove quotes from function calls for formatters?
- Highcharts - Dealing with small values in Funnel chart
- could not find function "hc_add_series_density" Highcharter R
- Highcharts: stacked bar charts tooltip enable shared and keep display arrow
- How to export a .xls file from a website as a CSV file?
- How to overcome missing values in Highstock-Stockchart?
- HighCharts: Unexpected value NaN parsing y attribute