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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T16:46:02+00:00 2026-06-07T16:46:02+00:00

I am trying to reset data in a stacked chart on a button click

  • 0

I am trying to reset data in a stacked chart on a button click in highcharts Here is my work so far

http://jsfiddle.net/N9WJ9/1/

It is not working

Can you please help with this one? thanks.

Just to clarify I took the help of below two examples

http://jsfiddle.net/gh/get/jquery/1.7.1/highslide-software/highcharts.com/tree/master/samples/highcharts/members/series-setdata/

http://www.highcharts.com/demo/column-stacked

Edit on button works for simple graphs, however I could not make it work for stacked columns.

  • 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-07T16:46:03+00:00Added an answer on June 7, 2026 at 4:46 pm

    For that you are going to have to re-draw the HighChart or initialize the Object again.

     $('#button').click(function() {
        $("#container").empty(); 
    
        options.series = [];
        options.series.push({
            name: 'Test',
            data: [10, 10, 10, 10, 10]
        });
        options.series.push({
            name: 'Test2',
            data: [5, 5, 5, 5, 5]
        });
        options.series.push({
            name: 'Test3',
            data: [4, 4, 4, 4, 4]
        });
        chart = new Highcharts.Chart(options);
    });
    

    http://jsfiddle.net/dane/YUa3R/34/

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

Sidebar

Related Questions

I am trying to reset the UIPickerView on button click. My pickerview id is
I'm trying to reset some input text fields, inside of a data table, using
I'm trying to use the form_for reset button: <%= button_tag 'Reset', :type => 'reset'
I am using ASP.NET MVC 3. I am trying to populate my YUI data
I'm trying to use the same media player but change the data source. Here
I'm trying to reset data in my object bound to a simple form (some
Trying a mental reset here: I tried to create a reliable, persistent stack with
I am trying to reset the actual value attribute of an input so that
I am trying to reset an array of JLabels. There are images on the
I have 2 dropdown lists on my webform and using jquery trying to filter/reset

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.