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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:57:08+00:00 2026-06-05T08:57:08+00:00

I have a rendered chart on a page and I am overwriting the high

  • 0

I have a rendered chart on a page and I am overwriting the high charts export link to a custom link to be used with a Zend view.

I am new to javascript and I’m not sure how to export to the new tab:

data.chartOptions.exporting.buttons.printButton = {
                    onclick : function() {

                        var win=window.open('','','location=0,titlebar=0,status=0,width=780,height=350');
                        win.focus();
                        this.exportChart({
                            url: ***.zendLink({
                                param1:***,
                                param2:***,
                                controller:"spm",
                                id:data.id,
                                action:"view",
                                format:"print"
                            })
                        });
                    }

                }

This does not seem to work, The window is opened and the link is followed on the first window, eg not in the new window. How do I do this?

Do I need to load the javascript into the new window?

If you would like any more information please ask. I’m not sure how much of the code you require.

Thanks

  • 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-05T08:57:09+00:00Added an answer on June 5, 2026 at 8:57 am

    You are doing those as two different things.
    1) Opening an window.
    2) Calling exportChart.

    You should open a some page in you site and render the chart there. So should load export chart source also for that.

    You can open a window in new tab like this

    window.open('http://www.google.com', '_blank', 'toolbar=0,location=0,menubar=0');
    

    But, it opens an URL in a new tab.

    You should have a chart script in that page, and on load of that page you should call this method

    this.exportChart 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to Export a Javascript chart (HighCharts) into an excel file; the chart
I have page with multiple charts rendered using fusion charts and I am pulling
I have a rendered Highcharts chart on a website and I need to empty
I have an html table rendered page and I want to save it as
I have a page which needs to be rendered in Quirks mode for the
I have some squares s of size 15px rendered on a page. Their absolute
I have an interesting problem. I have a page containing a Telerik chart which
I have created a chart based on Highcharts plugin, in which I have rendered
I have a Kendo Chart defined on my cshtml page as below: @(Html.Kendo().Chart<MyModel>() .Name(chart)
Does anyone have any idea why my chart is not being rendered with Jqplot?

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.