Sign in to follow this  
achalfouh

Gwt Smartgwt And Linkedchart

Recommended Posts

I am trying to use Linked Chart with smartgwt i used both swfobject and smartgwt Flashlet as a wrapper however for both i get the same error:

following is a copy from firebug the error is orphan event and it seems that the event manager couldn't find or identify the DOM object your help would be appreciated

please note that every thing work fine for the chart but when i click on link to drill down nothing happen.

<quote>

arguments ["linkedchartinvoked", undefined, Object { linkType="XMLURL", data="DataLoader?data=1&year=2012"}]

 

0 "linkedchartinvoked"

 

1 undefined

 

2 Object { linkType="XMLURL", data="DataLoader?data=1&year=2012"}

 

c undefined

 

d Object { linkType="XMLURL", data="DataLoader?data=1&year=2012"}

 

data "DataLoader?data=1&year=2012"

 

linkType "XMLURL"

 

e "linkedchartinvoked"

</quote>

Share this post


Link to post
Share on other sites

Unless you are using the swf object directly (which you don't need to with fusion charts), there's really no reason to use flashlet. Just use JSNI.

I am trying to use Linked Chart with smartgwt i used both swfobject and smartgwt Flashlet as a wrapper however for both i get the same error:

following is a copy from firebug the error is orphan event and it seems that the event manager couldn't find or identify the DOM object your help would be appreciated

please note that every thing work fine for the chart but when i click on link to drill down nothing happen.

<quote>

arguments ["linkedchartinvoked", undefined, Object { linkType="XMLURL", data="DataLoader?data=1&year=2012"}]

 

0 "linkedchartinvoked"

 

1 undefined

 

2 Object { linkType="XMLURL", data="DataLoader?data=1&year=2012"}

 

c undefined

 

d Object { linkType="XMLURL", data="DataLoader?data=1&year=2012"}

 

data "DataLoader?data=1&year=2012"

 

linkType "XMLURL"

 

e "linkedchartinvoked"

</quote>

Share this post


Link to post
Share on other sites
<br />Unless you are using the swf object directly (which you don't need to with fusion charts), there's really no reason to use flashlet. Just use JSNI.<br /><br />
<br /><br /><br />

thank you for your response.

Share this post


Link to post
Share on other sites

I am trying to use Linked Chart with smartgwt i used both swfobject and smartgwt Flashlet as a wrapper however for both i get the same error:

following is a copy from firebug the error is orphan event and it seems that the event manager couldn't find or identify the DOM object your help would be appreciated

please note that every thing work fine for the chart but when i click on link to drill down nothing happen.

<quote>

arguments ["linkedchartinvoked", undefined, Object { linkType="XMLURL", data="DataLoader?data=1&year=2012"}]

 

0 "linkedchartinvoked"

 

1 undefined

 

2 Object { linkType="XMLURL", data="DataLoader?data=1&year=2012"}

 

c undefined

 

d Object { linkType="XMLURL", data="DataLoader?data=1&year=2012"}

 

data "DataLoader?data=1&year=2012"

 

linkType "XMLURL"

 

e "linkedchartinvoked"

</quote>

 

It does not have to be this painful. Please take a look at the example below:

 

Fusion Adapter Link Chart Example

 

100% in Java working with GWT based event model when you register and listen to link chart event sent from any FusionCharts flash object.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi smile.gif

 

It's really helpful. Thanks a ton for sharing it.

 

Well, Happy FusionChartting! biggrin.gif

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
Sign in to follow this