Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8916567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:16:07+00:00 2026-06-15T05:16:07+00:00

Possible Duplicate: Set Additional Data to highcharts series So I have this graph: http://jsfiddle.net/Gg3ZL/

  • 0

Possible Duplicate:
Set Additional Data to highcharts series

So I have this graph: http://jsfiddle.net/Gg3ZL/

And I want to replace in the tooltip where it currently says “Total Players Online” with new data from another

Array= ['PlayerX, PlayerY, PlayerZ', 'Player1, Player2, Player3'];  

etc

So that it matches with the very first result in the first series data entry….

Even better if I didn’t have to replace the “Total Players Online: ” and instead just had another new entry in the tooltip like “Who’s Online: “.

Basically mouse over an entry and see which players were online at that particular time on the tooltip.

Thanks for any help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T05:16:09+00:00Added an answer on June 15, 2026 at 5:16 am

    You can attach the additional data with each point in the series.data as follows

    series: [{
        name: 'Series 1',
        data: [{
            y: 2,
            players: ['a', 'b']},
        {
            y: 3,
            players: ['a', 'b', 'c']},
        {
            y: 2,
            players: ['x', 'y']},
        {
            y: 4,
            players: ['a', 'b', 'c', 'd']}
        ]
    }]
    

    Now in the tooltip.formatter you can consume the additional data as follows

    formatter: function() {
        var result = '<b>' + Highcharts.dateFormat('%A, %b %e, %Y', this.x) + '</b>';
        $.each(this.points, function(i, datum) {
            result += '<br />' + datum.y + ' players online';
            $.each(datum.point.players, function() {
                result += '<br/>' + this;
            });
        });
        return result;
    }
    

    Complex tooltip | Highchart & Highstock @ jsFiddle

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Set NA to 0 in R I have a data.frame with a
Possible Duplicate: How to set/unset cookie with jQuery? So I have this extremely simple
Possible Duplicate: SmartGWT Dialog title not set correctly I have a problem, is that
Possible Duplicate: Android - how to set the wallpaper image I want to change
Possible Duplicate: Android: Set interval in SeekBar I have a seekbar with max value
Possible Duplicate: Can I set a breakpoint on 'memory access' in GDB? I want
Possible Duplicate: How to Set Opacity (Alpha) for View in Android i want to
Possible Duplicate: Set Jtable/Column Renderer for booleans Right now I have in my Jtable:
Possible Duplicate: Set alpha of Bitmap image! I want to change the opacity of
Possible Duplicate: .Net - Reflection set object property Setting a property by reflection with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.