score:2
after sebastian bochan pointed out that "shared: true" is part of the issue i looked into this some more and here is what i found out and how i ultimately solved the problem. for whatever reason the fiddle linked in the question was screwed up.
shared: true
is required if there is more than one series in the chart and one wants to have all series displayed in the same tooltip. in my case this was a leftover from other plots i made but not needed in the single series plots my original question was about.
for single series plots "shared: true" should not be used. it defaults to "shared: false" and thus "shared" doesn't need to be included at all.
here's the formatter code which i am now using and it works for all single series, whether it's spline or scatter:
tooltip: {
crosshairs: true,
formatter: function () {
return '<b>' + highcharts.dateformat('%e. %b %y, %h:00', this.x) +
'</b> ' + this.series.name + ': ' + this.y + ' deg';
}
},
see http://jsfiddle.net/reality_extractor/pnfyl/ for both spline and scatter plots in action.
Source: stackoverflow.com
Related Query
- highcharts: tooltip shows for spline but not scatter plot
- Highcharts shared tooltip for line series and scatter plot not working
- Highcharts scatter plot - make tooltip not follow pointer
- Tooltip for Highcharts graph shows "undefined" in Chrome, but the correct value in Firefox
- DateFormat in Tooltip for Scatter Plot does not change
- HighCharts scatter plot with Datetime on X Axis not plotting values correctly
- I had created a scatterplot using Highcharts but the the point.z value is not getting displayed in tooltip
- Tooltip in chart with line- and scatter plot in highcharts 3.0.7
- Tooltip Options not working for Highcharts Treemap
- How to hide series name from tooltip in Highcharts scatter plots for linear regression
- Data and tooltip not working for graph using highcharts
- highcharts tooltip not working properly for hacked gantt chart
- Highcharts use legend symbol and legend parms, not scatter marker symbols - in scatter plot
- Highcharts Spline not drawing graph lines for first 30 points.
- Highcharts dynamic set category update the chart but shows only points but not lines
- Tooltip outside working in highcharts but not in highstock
- How to customize tooltip styling in for Scatter plot in Highchart?
- Add clickable link to tooltip in Highcharts Scatter Plot
- Highchart / Highstock shows unformated tooltip lable when data grouping enabled but not used
- Highcharts - tooltip headerformat for 2 decimal places not working
- disabled zooming when scrolling the mouse in the tooltip of scatter plot highcharts
- Highcharts code with same set of code/data works in PHP but does not work in JSfiddle
- Highcharts tooltip is not working for large data
- Make Highcharts tooltip show info for closest point to the left (i.e. not change at midpoint)
- Display tooltip for invisible series in Highcharts
- Adding thousands separator for custom formatted highcharts tooltip
- Highcharts - set maximum range for yAxis but keep axis dynamic within that range
- highcharts customize tooltip for a single point
- Highcharts not displaying data labels for Pie chart in arabic
- Tooltip text alignment in Highcharts for 'direction: rtl'
More Query from same tag
- Include hidden series in exported CSV using Highcharts v8.0
- Highcharts cut my series - transform bad position
- highcharts include multiple charts in foreach
- Dynamically move highstock navigator
- How can I add a full screen button in HighchartsReact?
- Highcharts JS in IE 7 doesn't appear
- How to enable/disable sections in Pie chart in Highcharts
- Highcharts Highmaps How to add mappoint to custom map
- How could i put a highcharts funnel to rotate 90deg
- Using Highcharts with FastAPI
- Highcharts and Excel Slicers
- Data parsing from mysql into highchart with json
- dynamically change label to show the y-axis min and max value
- Text on SVG circle
- give highchart correct parametr from directive angularjs
- How to make multiple Y-axis with incoming series of data from database using Highcharts
- Highcharts manually setting legendItemClick event
- How to show all the annotations in Hichcharts?
- Sankey paths/links are loosing their width when the link has a big curve
- Bind a function with dynamic arguments to Highcharts point
- Which javascript graphs / chart library?
- rCharts Highcharts change xAxis labels
- How to create pie chart with only 1 series data and have background be a circle
- Highcharts: Show navigator range in subtitle
- Parse dates from an HTML table in Highcharts
- How to display array in array on Highcharts? [JS]
- Show HighCharts tooltip when chart loads
- Highchart Treemap - rounded edges
- Optimal display for overlapping series in a line chart
- HighChart is preventing click event on a parent