buddydude

Documentation for opening pop-up link not working for me

Recommended Posts

I'm using the documentation found here to try to have my chart links open in a pop-up, but it's not working. The hand cursor shows up over the pie piece but when I click it, nothing happens. Here's a sample of my XML:

 

 

 

<set color="33CCFF" label="Newspapers" value="100" link="P-chartPopup,details.html" />

 

 

 

I've actually tried pasting the examples from that link right into my XML and still nothing happens.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Could you please try the following step:-

 <set label='Jan' value='17400' link='P-detailsPopUp,width=400,height=300,toolbar=no, scrollbars=no,resizable=no-DemoLinkPages/DemoLink1.html'/>

In the above sample "DemoLink1.html" is the HTML page that is supposed to get opened in the pop-up window.

Also, plaese have a look to the below link:-

Ref:-http://www.fusioncharts.com/docs/Contents/DrillDown/PopUps.html

Hope this helps. :)

Share this post


Link to post
Share on other sites

Where do you set the registerWithJS? I can't find any documentation on where and how to set that parameter.

 

 

 

I've seen some information about that registerWithJS in sections of the documentation that talk about embedding charts with JavaScript, but that involves including a 14kb FusionCharts.js which I'd rather not do. Is there any way to set that parameter without JavaScript embedding?

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Please try the following steps for enabling the 'registerWithJS':-

JavaScript chart render method:

 

<script type="text/javascript">

var chart = new FusionCharts("MSStackedColumn2DLineDY.swf", "ChartId", "600", "350", "0", "1");

chart.setDataURL("data.xml");

chart.render("chartdiv");

</script>

The "1" enable the 'registerWithJS'.

 

ASP.NET C# chart render method:

FusionCharts.RenderChart("../FusionCharts/ScrollLine2D.swf", "Data/ScrollLine2D.xml", "", "myFirst", "600", "350", false, true);

The 'true' enable the 'registerWithJS'.

Hope this helps.

 

Share this post


Link to post
Share on other sites

I switched to javascript embedding and I basically get the same results as before. Click the pie piece, nothing happens.

 

 

 

Here is what's going on in the HTML that loads the chart:

 

 

 

<div id="chartdiv" align="center">...</div>

<script type="text/javascript">

   var myChart = new FusionCharts("swf/dashboard/Pie3D.swf", "pieArticleVolume", "200", "90", "0", "1");

   myChart.addParam("WMode", "Transparent");

   myChart.setDataURL("xml/pieArticleVolume.xml");

   myChart.render("chartdiv");

</script>

 

 

 

And here is the set in my XML:

 

 

 

<set color="33CCFF" label="Newspapers" value="100" link="P-detailsPopUp,width=400,height=300,toolbar=no,scrollbars=no,resizable=no-DemoLinkPages/DemoLink1.html" />

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Please place the html code window to pop-up on the same page or on a different window under the root folder from where the first chart is being called.

I am attaching an example for your reference.

 

The paths have to be adjusted accoring o which folder the codes are placed.

popup.zip

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

We are sending you a sample which might help you to solve the issue that you are facing.

Please have a look to it.

Hope this helps. 

SAMPLE.zip

Share this post


Link to post
Share on other sites

That's strange then. I'll take a look at my Flash settings, but if there's something in there preventing the popups, that kind of sucks since we can't control users' settings.

 

 

 

Just to make sure, can someone answer my question about the n- method? There's no way to name the new target window that opens when you use that?

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

We have already tested the sample and it was working fine in our lab.

However, could you please confirm the following:-

1)The Flash Player Global Security Settings is set.

Ref:-http://www.fusioncharts.com/forum/Topic5009-47-1.aspx#bm8077

2)The version of the chart that you are using is v3.1.1(the latest version).

Please have a look to the below link for the upgradation of the version of the chart:-

Ref:-http://www.fusioncharts.com/puc/

Hope this helps. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now