Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Highcharts Crosshairs - Tooltips

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
Smithee
Posts: 74
Joined: Sun 02 Oct 2011 9:15 am
Weather Station: VP2
Operating System: Mac/win7
Location: United Kingdom

Highcharts Crosshairs - Tooltips

Post by Smithee »

Evening all,

Probably a stupid question but i cant see where i am going wrong. I am trying to add cross hairs and a shared tooltip to my highcharts hour graph

http://weather.casa.ucl.ac.uk/hourgraph.htm

I am using:

tooltip: {
shared: true,
crosshairs: true,
valueSuffix: '°C',
},

but i cant seem to get the crosshair to display or be shared, they all snap to the graph line.

Any tips would be great,

Andy
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Highcharts Crosshairs - Tooltips

Post by mcrossley »

You have put the tooltip against each series. You need to put the shared option as part of a top-level "tooltip" object...

Code: Select all

options = {
    chart: {
...
    },
    tooltip: {
blah,blah,blah...
    },
etc
Smithee
Posts: 74
Joined: Sun 02 Oct 2011 9:15 am
Weather Station: VP2
Operating System: Mac/win7
Location: United Kingdom

Re: Highcharts Crosshairs - Tooltips

Post by Smithee »

Thanks! :)

Andy
Post Reply