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 8463005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:20:40+00:00 2026-06-10T14:20:40+00:00

I have started to implement a column chart at Highcharts.( http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/combo/ column chart part

  • 0

I have started to implement a column chart at Highcharts.(http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/combo/ column chart part of it)

I set series as like that:

...
series : []
...

And I return sth like that from server:

[ {
  "name" : "4346",
  "data" : [ 3010840179 ],
  "type" : "column"
}, {
  "name" : "20232",
  "data" : [ 2135308977 ],
  "type" : "column"
} ]

When I copy that value and set series at first it renders graphic. However I don’t what will return from server(how many elements etc.) and I try that:

chart.series = data; //chart is my chart variable's name, data is the returning JSON String from server.

However nothing happens at chart, I know it is not a valid usage. What should I do to set series variable of chart at once?

PS 1: I try to set data at my callback function at $.getJSON()

PS 2: chart.series[n].setData(); is not for me. I have both data and names of every elements from server. I want to set whole series variable of chart at once.

EDIT 1: http://jsfiddle.net/HD6CY/ this is what I want to achieve.

EDIT 3: I want to create a chart with series : [] and after I get data from server(it takes long time) I want to set it to my chart’s seres variable. I don’t want to block my chart to be created if waits to get data, I want to build empty and after that I will set it. I will show a loading text at screen so there will be something instead of a null page even it doesn’t have anything to show at beginning.

  • 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-10T14:20:41+00:00Added an answer on June 10, 2026 at 2:20 pm

    Check about addSeries.

    After build an empty chart, do the following.

    var  variable =   [{
        type: 'column',
        name: 'Jane',
        data: [3, 2, 1, 3, 4]
    }, {
        type: 'column',
        name: 'John',
        data: [2, 3, 5, 7, 6]
    }, {
        type: 'column',
        name: 'Joe',
        data: [4, 3, 3, 9, 0]
    }]; 
    for(var i in variable) {
        chart.addSeries(variable[i], false); // don't redraw
    }
    chart.redraw(); // redraw only after add all series
    

    DEMO

    Reference

    • http://api.highcharts.com/highstock#object-Chart
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just started with jQuery. I am trying to implement zebra striping in
we have started research on Service Broker and planning to implement in application. But
looking at dribbble, I have started to ask myself, how I would implement a
I have started implementing Subscriptions into my app but I cannot get the API
I have started writing my own WebDAV server class in .NET, and the first
Recently I have started to implement new experimental feature for my project. Unfortunately I
I have started with iPhone development sometime back and I am trying to implement
Or I don't understand this at all. I have started my ASP.NET MVC application
I have just started using EF Code First to implement a simple blog. I
So Safari and Chrome have started in their betas to implement some ES5 stuff.

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.