score:2
This is the existing issue in Highcharts issue tracker
Part of the issue is that shared tooltip shouldn't work on scatter series at all, because they are not sorted and laid out in increasing X order. This should be noted in the docs(link).
score:1
Add this line of code:
Highcharts.seriesTypes.scatter.prototype.noSharedTooltip = false;
It disables Hicharts default setting which disables scatter plots from being included in shared/split tooltips. This way you do not have to use spline like others suggest, which cant lead to problems such as tooltip following the spline line.
score:2
According highcharts api http://api.highcharts.com/highcharts#tooltip.shared tooltip shared works only for ordered data and not for pie, scatter, flags etc.
score:4
you could try this http://jsfiddle.net/8qt0d4h0/
The new highcharts can not shared tooltip in pie/scatter/flag, so you could handle the scatter as spline , and set the lineWidth equal and set states hover equal 0 too.
$(function () {
$('#container').highcharts({
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
tooltip: {
shared: true
},
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
type: 'spline',
"lineWidth": 0,
"marker": {
"enabled": "true",
"states": {
"hover": {
"enabled": "true"
}
},
"radius": 5
},
"states": {
"hover": {
"lineWidthPlus": 0
}
},
}, {
data: [216.4, 194.1, 95.6, 54.4, 29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5]
},{
data: [210.4, 190.1, 90.6, 50.4, 20.9, 70.5, 105.4, 120.2, 140.0, 170.0, 130.6, 140.5]
}]
});
});
Source: stackoverflow.com
Related Query
- Highcharts shared tooltip for line series and scatter plot not working
- Highstock shared tooltip multiple series - show data for line when not on point
- Data and tooltip not working for graph using highcharts
- highcharts: shared tooltip not working for series with diffrent intervals
- Highcharts shared tooltip between charts with multiple series and shared tooltip
- Tooltip in chart with line- and scatter plot in highcharts 3.0.7
- Highcharts scatter plot - make tooltip not follow pointer
- Highcharts - Aligning dateTime series for shared tooltip
- Tooltip Options not working for Highcharts Treemap
- highcharts: tooltip shows for spline but not scatter plot
- How to hide series name from tooltip in Highcharts scatter plots for linear regression
- highcharts tooltip not working properly for hacked gantt chart
- How to add a vertical plot line in multiple line series and show the tooltip on Plot line in highchart
- Highcharts use legend symbol and legend parms, not scatter marker symbols - in scatter plot
- Highcharts Highstock How to Plot OHLC and Line Charts from One Set of Embedded CSV Data Using Series Map Tools?
- Highcharts - tooltip headerformat for 2 decimal places not working
- DateFormat in Tooltip for Scatter Plot does not change
- highcharts Line color in the chart, in the legend and in the tooltip do not match
- Highcharts Single line series with single data not showing plot
- Plot Bar chart and Line series chart on separate x-axis in Highcharts out of common dataset
- Highcharts (grouped_category styling) and tooltip formatter not working
- Highcharts tooltip is not working for large data
- Display tooltip for invisible series in Highcharts
- Highcharts - How to hide series name and Y value in tooltip
- Highcharts shared tooltip requires different valueSuffix and varying decimals
- Add a gap between the second and third series in a Highcharts column plot with four series displayed
- Highchart/stock tooltip formatter for both series and flags
- Highcharts - How to remove connecting line between fixed tooltip and point
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- highcharts redraw and reflow not working
More Query from same tag
- Pie chart: image exporting cutting off labels
- how to remove space above semicircle angular gauge
- error with adjusting height of pie chart using highcharts
- Gauge chart, how to decrease width of serie?
- How to plot stacked bar chart in highcharts with dynamic data?
- I want to give numbering in x axis and tooltip shows my specific array value according to that in highchart
- Hours: Mintues: Seconds in HighCharts Bargraph
- PHP spontaneously creates associative array where indexed array is required - using PHP arrays with Highcharts
- Column chart overlaps to one line when there's just a group of data
- Highcharts: How to ignore styling from title string
- How to display Highcharts x-axis time stamp labels inside tooltip?
- HighCharts. How to align yAxis title and yAxis labels to right in one line?
- How do I skip a datapoint in Highcharts without causing an interruption in the line of the chart?
- MVC 5 Highcjarts ajax call
- return json arrays from symfony controller for many usage on highcharts.js
- About HighCharts
- highchart: add images to top of chart on every column
- The graph is not equal on the basis of the addition code in Highcharts
- Highcharts 3D Scatter Plot, pop up's and links after rotation
- highcharts: Indent labels from pie-chart
- How to set intervals for multiple y-axis in Highcharts?
- Highchart xAxis "6 Hours Ago" ,"5 Hours ago" and so on. while my chart is updating
- Issue Dynamically Changing HighCharts Chart Title
- Highchart Graph Issue
- Using Highcharts formatter causes Cannot read property 'length' of undefined
- How do I display multiple charts automatically with PHP and MYSQL?
- Highcharts - Stack Chart to Stack Chart in Drilldown
- How to add Highcharts view data table option to the exports dropdown?
- Highcharts - Get all renderers in a chart
- How to align the labels of sankey diagram?